COMMIT Fix wrong samples http://github.com/rubyspec/rubyspec/commit/3f6029dfb53f960705554151cd1596fcec693ec1 COMMIT Merge branch 'master' of git@github.com:rubyspec/rubyspec http://github.com/rubyspec/rubyspec/commit/a5f9a2fe5d991033da989d431c44d5ff21d95a14 COMMIT Bug fix by r23361 http://github.com/rubyspec/rubyspec/commit/7958b298aba7c8e76d396e0fda34138310c76b56 COMMIT Fixed ambiguous spec http://github.com/rubyspec/rubyspec/commit/1306fa2bde9adf2c36030002d641005da20d444b --- 20090508T085147 +++ 20090509T085233 @@ -1,8008 +1,8008 @@ - returns self if made some modifications - returns nil if no modifications took place - takes an optional argument that determines the level of recursion -- ignores negative levels +- treats negative levels as no arguments - tries to convert passed Objects to Integers using #to_int - raises a TypeError when the passed Object can't be converted to an Integer - does not call flatten! on elements @@ -9803,8 +9803,8 @@ Enumerable#cycle passed a number n as an argument - returns nil and does nothing for non positive n -- calls each at most once (FAILED - ) -- yields only when necessary (FAILED - ) +- calls each at most once +- yields only when necessary - tries to convert n to an Integer using #to_int - raises a TypeError when the passed n can be coerced to Integer - raises an ArgumentError if more arguments are passed @@ -12422,8 +12422,7 @@ IO#read - can be read from consecutively -- can read lots of dataheh - +- can read lots of data - can read lots of data with length - consumes zero bytes when reading zero bytes - is at end-of-file when everything has been read @@ -26635,78 +26634,6 @@ /home/chkbuild/tmp/build/ruby-1.8//mspec/bin/mspec-run:8 ) -Enumerable#cycle passed a number n as an argument calls each at most once FAILED -Expected [42, 1, 2, 42, 1, 2, 42, 1, 2] - to equal [1, 2, 1, 2, 1, 2] - -/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with' -/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/matchers/base.rb:8:in `==' -/home/chkbuild/tmp/build/ruby-1.8//rubyspec/core/enumerable/cycle_spec.rb:26 -/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//rubyspec/core/enumerable/cycle_spec.rb:2: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/context.rb:184:in `process' -/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/context.rb:184:in `each' -/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/context.rb:184: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/core/enumerable/cycle_spec.rb:4 -/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 - - ) -Enumerable#cycle passed a number n as an argument yields only when necessary FAILED -Expected 3 - to equal 2 - -/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with' -/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/matchers/base.rb:8:in `==' -/home/chkbuild/tmp/build/ruby-1.8//rubyspec/core/enumerable/cycle_spec.rb:33 -/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//mspec/lib/mspec/expectations/expectations.rb:15: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/context.rb:184:in `process' -/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/context.rb:184:in `each' -/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/context.rb:184: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/core/enumerable/cycle_spec.rb:4 -/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 - - ) Kernel#caller in a Proc or eval returns the correct definition line for a complex Proc trace FAILED Expected "/home/chkbuild/tmp/build/ruby-1.8//rubyspec/core/kernel/fixtures/caller_fixture1.rb:29:in `second'" to match /caller_fixture1\.rb:25:in `second'/ @@ -27713,7 +27640,7 @@ Finished in seconds -2554 files, 10581 examples, 35429 expectations, 23 failures, 20 errors +2554 files, 10581 examples, 35430 expectations, 21 failures, 20 errors exit 1 failed(rubyspec) == end #