ct: Re: [Jruby-devel] Error in TestRubyHash.
To: [email protected]
> Funny. About a month ago I fixed this for a test below it
> for Range (which had the same error). The same Regexps are
> supposed
> to hash the same. We will need to fix this. Based on the test
Funny. About a month ago I fixed this for a test below it
for Range (which had the same error). The same Regexps are supposed
to hash the same. We will need to fix this. Based on the test
itself, it makes me wonder if the hashing behavior changed between
1.6 and 1.8 of Ruby?
-Tom
On Sat, 1
Hi,
When doing a test of my recent changes with hashCode, I got an assertion
failure from TestRubyHash:
result = eval("key = /a/; hash = {key => 'one'}; hash[/a/] =
'two'; puts hash[key]")
assertEquals("one", result);
According to the comments I suspect this is a test of ident