Hash#eql? spec failures
-----------------------
Key: JRUBY-3852
URL: http://jira.codehaus.org/browse/JRUBY-3852
Project: JRuby
Issue Type: Bug
Components: Ruby 1.8.7
Reporter: Martin Traverso
Attachments: 0001-Fixed-Hash-eql-spec-failures.patch
Hash#eql? compares values when keys match FAILED
Expected false to be true
/Users/martin/src/jruby/spec/mspec/lib/mspec/expectations/expectations.rb:15:in
`fail_with'
/Users/martin/src/jruby/spec/mspec/lib/mspec/expectations/should.rb:7:in
`should'
/Users/martin/src/jruby/spec/ruby/core/hash/shared/eql.rb:114
Hash#eql? compares keys with eql? semantics FAILED
Expected false to be true
/Users/martin/src/jruby/spec/mspec/lib/mspec/expectations/expectations.rb:15:in
`fail_with'
/Users/martin/src/jruby/spec/mspec/lib/mspec/expectations/should.rb:7:in
`should'
/Users/martin/src/jruby/spec/ruby/core/hash/shared/eql.rb:118
Hash#eql? returns true iff other Hash has the same number of keys and each
key-value pair matches FAILED
Expected false to be true
/Users/martin/src/jruby/spec/mspec/lib/mspec/expectations/expectations.rb:15:in
`fail_with'
/Users/martin/src/jruby/spec/mspec/lib/mspec/expectations/should.rb:7:in
`should'
/Users/martin/src/jruby/spec/ruby/core/hash/shared/eql.rb:130
Hash#eql? does not call to_hash on hash subclasses FAILED
Expected false to be true
/Users/martin/src/jruby/spec/mspec/lib/mspec/expectations/expectations.rb:15:in
`fail_with'
/Users/martin/src/jruby/spec/mspec/lib/mspec/expectations/should.rb:7:in
`should'
/Users/martin/src/jruby/spec/ruby/core/hash/shared/eql.rb:137
Hash#eql? compares keys with matching hash codes via eql? FAILED
Expected false to be true
/Users/martin/src/jruby/spec/mspec/lib/mspec/expectations/expectations.rb:15:in
`fail_with'
/Users/martin/src/jruby/spec/mspec/lib/mspec/expectations/should.rb:7:in
`should'
/Users/martin/src/jruby/spec/ruby/core/hash/shared/eql.rb:169
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email