COMMIT Float#round takes an optional arg http://github.com/rubyspec/rubyspec/commit/d6e6851273fe04be7010130f4deeb906d35311a9 COMMIT Add spec for Hash.each[_pair] yielding to |k,| args. http://github.com/rubyspec/rubyspec/commit/605e05cfdacae5ba6efca269e98263671acac417 COMMIT Add specs for Proc#parameters with both styles of anonymous restarg. http://github.com/rubyspec/rubyspec/commit/aad38981bbd18996b8c82c58b10ce286535c989a =================================================================== +++ 20110117T024808Z @@ 15154 @@ Hash#each - yields a [[key, value]] Array for each pair to a block expecting |*args| - yields the key and value of each pair to a block expecting |key, value| +- yields the key only to a block expecting |key,| (FAILED - ) - uses the same order as keys() and values() - returns an Enumerator if called on a non-empty hash without a block - returns an Enumerator if called on an empty hash without a block @@ 46332 @@ Hash#each - yields a [[key, value]] Array for each pair to a block expecting |*args| - yields the key and value of each pair to a block expecting |key, value| +- yields the key only to a block expecting |key,| (FAILED - ) - uses the same order as keys() and values() - returns an Enumerator if called on a non-empty hash without a block - returns an Enumerator if called on an empty hash without a block ) +Hash#each yields the key only to a block expecting |key,| FAILED +Expected [:a, :c, :b] + to equal [:a, :b, :c] /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/matchers/base.rb:8:in `==' +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//rubyspec/core/hash/shared/each.rb:19 /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/mspec.rb:68:in `protect' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/context.rb:179:in `protect' +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//rubyspec/core/hash/each_spec.rb:4:in `all?' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/context.rb:179:in `each' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/context.rb:179:in `all?' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/context.rb:179:in `protect' @@ 46358 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/context.rb:199:in `process' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/mspec.rb:37:in `describe' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/object.rb:11:in `describe' +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//rubyspec/core/hash/each_spec.rb:6 /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/mspec.rb:56:in `load' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/mspec.rb:56:in `files' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' @@ 46373 @@ Finished in seconds +1 file, 6 examples, expectations, 1 failure, 0 errors exit 1 +failed(rubyspec/core/hash/each_spec.rb) == rubyspec/core/hash/each_value_spec.rb #