lib/capybara/screenshot/diff/image_compare.rb in capybara-screenshot-diff-0.14.1 vs lib/capybara/screenshot/diff/image_compare.rb in capybara-screenshot-diff-0.14.2
- old
+ new
@@ -232,9 +232,10 @@
old_img.height.times do |y|
old_img.width.times do |x|
return [x, y, x, y] unless same_color?(old_img, new_img, x, y)
end
end
+ nil
end
def find_left_right_and_top(old_img, new_img)
top = @top
bottom = @bottom