lib/tdiff/unordered.rb in tdiff-0.3.0 vs lib/tdiff/unordered.rb in tdiff-0.3.1

- old
+ new

@@ -63,10 +63,10 @@ changes << [i, '-', xi] end end y.each_with_index do |yj,j| - unless unchanged.has_key?(yj) + unless unchanged.has_value?(yj) changes << [j, '+', yj] end end # order the changes by index to match the behavior of `tdiff`