COMMIT Additional testcase for Kernel.exit(nil) http://github.com/rubyspec/rubyspec/commit/4f6a302c2ef8739e65c06291f11b7304dced931d COMMIT More specs for Kernel.exit http://github.com/rubyspec/rubyspec/commit/dc215d9ad14d63bc8ff3851336f03388b1c0461c COMMIT IO.try_convert: Specify 1.9 method http://github.com/rubyspec/rubyspec/commit/09a375181ca4560a0ae873ef6e4ffe970b204de9 COMMIT String.try_convert: Fix typo: :to_ary -> :to_str http://github.com/rubyspec/rubyspec/commit/a1e1567a0ee2149165da8e771f8f428cc76eb1fe COMMIT return: Runs ensure clause when in lambda [#1729] http://github.com/rubyspec/rubyspec/commit/bbeffee22bdb523d48f0700609dcb6dfef1f9ae6 COMMIT Integer(): ArgumentError if base given for non-String http://github.com/rubyspec/rubyspec/commit/6f806625902caba737f6fb55793ffd4abb42c094 COMMIT added spec to check duplicated keys on hash initialization http://github.com/rubyspec/rubyspec/commit/68bf181f67d6aaef6aafdd332f26c510317aaa16 COMMIT Added Kernel.exit(boolean) spec http://github.com/rubyspec/rubyspec/commit/96db00f55bf7ba3c2533778a8bb6d60b7407e5d3 COMMIT lib/delegate: Created specs for #method http://github.com/rubyspec/rubyspec/commit/5971b60b558ca4ede4738d11e6a8738ca2954ef9 COMMIT library/delegate: basic specs for #send http://github.com/rubyspec/rubyspec/commit/21b29c35f7fd8d12fb09554cd24d1a1f39ed14d1 --- 20091014T082919 +++ 20091015T083234 @@ -1,12146 +1,12147 @@ - returns self for open stream - returns self for closed stream +/home/chkbuild/tmp/build/ruby-1.8//rubyspec/core/io/try_convert_spec.rb /home/chkbuild/tmp/build/ruby-1.8//rubyspec/core/io/tty_spec.rb IO#tty? - returns false if this stream is not a terminal device (TTY) @@ -12790,6 +12791,10 @@ Kernel.exit - raises a SystemExit with status 0 - raises a SystemExit with the specified status +- raises a SystemExit with the specified boolean status +- tries to convert the passed argument to an Integer using #to_int +- converts the passed Float argument to an Integer +- raises TypeError if can't convert the argument to an Integer Kernel.exit! - needs to be reviewed for spec completeness @@ -18126,6 +18131,7 @@ - {} should return a new hash populated with the given elements - treats empty expressions as nils - freezes string keys on initialization +- checks duplicated keys on initialization /home/chkbuild/tmp/build/ruby-1.8//rubyspec/language/if_spec.rb The if expression @@ -18608,6 +18614,7 @@ - returns last value returned in ensure - executes nested ensures before returning - returns last value returned in nested ensures +- executes the ensure clause when begin/ensure are inside a lambda The return keyword within a block - raises a LocalJumpError if there is no lexicaly enclosing method @@ -21344,6 +21351,18 @@ Date#upto - should be able to step forward in time +/home/chkbuild/tmp/build/ruby-1.8//rubyspec/library/delegate/method_spec.rb +SimpleDelegator#method +- returns a method object for a valid method +- raises a NameError for an invalid method name +- raises a NameError if method is no longer valid because object has changed + +/home/chkbuild/tmp/build/ruby-1.8//rubyspec/library/delegate/send_spec.rb +SimpleDelegator.new +- forwards public method calls +- doesn't forward private method calls +- forwards private method calls made via send or __send__ (ERROR - ) + /home/chkbuild/tmp/build/ruby-1.8//rubyspec/library/digest/md5/append_spec.rb Digest::MD5#<< - can update @@ -30545,6 +30564,37 @@ /home/chkbuild/tmp/build/ruby-1.8//mspec/bin/mspec-run:8 ) +SimpleDelegator.new forwards private method calls made via send or __send__ ERROR +NoMethodError: undefined method `priv' for # +/home/chkbuild/tmp/build/ruby-1.8//lib/ruby/1.8/delegate.rb:157:in `method_missing' +/home/chkbuild/tmp/build/ruby-1.8//rubyspec/library/delegate/send_spec.rb:21:in `send' +/home/chkbuild/tmp/build/ruby-1.8//rubyspec/library/delegate/send_spec.rb:21 +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:67:in `instance_eval' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:67:in `protect' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/context.rb:135:in `protect' +/home/chkbuild/tmp/build/ruby-1.8//lib/ruby/1.8/delegate.rb:137:in `all?' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/context.rb:135:in `each' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/context.rb:135:in `all?' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/context.rb:135:in `protect' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/context.rb:163:in `process' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/context.rb:155:in `each' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/context.rb:155:in `process' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:36:in `describe' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/object.rb:11:in `describe' +/home/chkbuild/tmp/build/ruby-1.8//rubyspec/library/delegate/send_spec.rb:5 +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:55:in `load' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:55:in `files' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:67:in `instance_eval' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:67:in `protect' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:55:in `files' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:49:in `each' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:49:in `files' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:41:in `process' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/commands/mspec-run.rb:87:in `run' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/utils/script.rb:217:in `main' +/home/chkbuild/tmp/build/ruby-1.8//mspec/bin/mspec-run:8 + + ) Enumerator#next cannot be called again until the enumerator is rewound FAILED Expected StopIteration but no exception was raised /home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with' @@ -31791,7 +31841,7 @@ Finished in seconds -2894 files, 11454 examples, 36402 expectations, 67 failures, 66 errors +2897 files, 11466 examples, 36430 expectations, 67 failures, 67 errors exit 1 failed(rubyspec) == end #