Skip to content

Commit

Permalink
test: update check on empty wand
Browse files Browse the repository at this point in the history
  • Loading branch information
justinfx committed Sep 25, 2024
1 parent 9653766 commit e6a59d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imagick/magick_wand_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}

Expand Down

0 comments on commit e6a59d3

Please sign in to comment.