diff options
Diffstat (limited to 'picture_test.go')
-rw-r--r-- | picture_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/picture_test.go b/picture_test.go index 2b39ed8..5b1a9e3 100644 --- a/picture_test.go +++ b/picture_test.go @@ -102,7 +102,7 @@ func TestGetPicture(t *testing.T) { // Try to get picture from a worksheet that doesn't contain any images. file, raw, err = xlsx.GetPicture("Sheet3", "I9") - assert.NoError(t, err) + assert.EqualError(t, err, "Sheet Sheet3 is not exist") assert.Empty(t, file) assert.Empty(t, raw) |