Skip to content

Commit

Permalink
fix deprecation; use MiniMagick.compare
Browse files Browse the repository at this point in the history
  • Loading branch information
takahashim committed Aug 14, 2024
1 parent b070710 commit ec1aa1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_img_math.rb
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def test_make_math_image

def compare_images(image1, image2)
MiniMagick.errors = false
compare = MiniMagick::Tool::Compare.new
compare = MiniMagick.compare
compare << '-fuzz'
compare << '10%'
compare.metric('AE')
Expand Down

0 comments on commit ec1aa1c

Please sign in to comment.