From e6a59d3e9da88d9264c5178a624f9233fa5695b8 Mon Sep 17 00:00:00 2001 From: Justin Israel Date: Wed, 25 Sep 2024 14:47:44 +1200 Subject: [PATCH] test: update check on empty wand --- 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 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") }