From 3018c775dabd515290b1e4b6d30b882ad2f9cf96 Mon Sep 17 00:00:00 2001 From: Justin Israel Date: Sun, 2 Jun 2024 19:17:57 +1200 Subject: [PATCH] Fix bad tests error comparison --- imagick/magick_wand_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imagick/magick_wand_test.go b/imagick/magick_wand_test.go index b3c5b5f..c118f37 100644 --- a/imagick/magick_wand_test.go +++ b/imagick/magick_wand_test.go @@ -197,7 +197,7 @@ func TestReadImageBlob(t *testing.T) { mw.ReadImage(`logo:`) blob, err := mw.GetImageBlob() - if err == nil { + if err != nil { t.Fatal(err) }