Re: [Jruby-devel] Error in TestRubyHash.

2006-06-18 Thread Ola Bini
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

Re: [Jruby-devel] Error in TestRubyHash.

2006-06-17 Thread Thomas E Enebo
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

[Jruby-devel] Error in TestRubyHash.

2006-06-17 Thread Ola Bini
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