diff --git a/imagick/magick_wand_test.go b/imagick/magick_wand_test.go index 082836b..09ee59c 100644 --- a/imagick/magick_wand_test.go +++ b/imagick/magick_wand_test.go @@ -235,7 +235,7 @@ func TestReadImageBlob(t *testing.T) { // Try to read an empty wand blob, _ := mw.GetImageBlob() - if blob != nil { + if len(blob) > 0 { t.Fatal("Expected nil blob on invalid wand") }