lib/hash_diff/comparison.rb in hash_diff-1.1.0 vs lib/hash_diff/comparison.rb in hash_diff-1.1.1
- old
+ new
@@ -33,10 +33,10 @@
end
end
def combined_keys
if hash?(left) && hash?(right) then
- (left.keys + right.keys).uniq.sort
+ (left.keys + right.keys).uniq
elsif array?(left) && array?(right) then
(0..[left.size, right.size].max).to_a
else
raise ArgumentError, "Don't know how to extract keys. Neither arrays nor hashes given"
end