Hi,
The applied patch changes two tests in activerecord/test/base_test.rb to not be dependent on hash ordering. The patch is against stable.
Cheers
ar_base_test_hash_ordering.patch (1.79 KB)
Hi,
The applied patch changes two tests in activerecord/test/base_test.rb to not be dependent on hash ordering. The patch is against stable.
Cheers
ar_base_test_hash_ordering.patch (1.79 KB)
If the original code compares arrays, why not just sort them?
assert_equal a.sort, b.sort
Mislav Marohnić wrote:
If the original code compares arrays, why not just sort them?
assert_equal a.sort, b.sort
>
Sure, that's a good solution. I'll revise my patch and add some things.
Cheers