You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
The override of the ==/equal? methods seem to be used when checking values of an Hash, but not when checking the keys. Here is an example with a simple class :
Hello,
The override of the ==/equal? methods seem to be used when checking values of an Hash, but not when checking the keys. Here is an example with a simple class :
Hashdiff.best_diff({1 => Color.new('red')}, {1 => Color.new('red')})
returns[]
as expectedbut
Hashdiff.best_diff({Color.new('red') => 1}, {Color.new('red') => 1})
returns[["~", "#<Color:0x000014ac0e49d418>", 1, nil]]
Thanks!
The text was updated successfully, but these errors were encountered: