Skip to content

Commit 3986084

Browse files
committed
fix test for IsImage
1 parent e4cdad0 commit 3986084

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

kadai1/imura81gt/imgconv/img/convert_test.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,11 @@ func TestIsImage(t *testing.T) {
9494
path: "../testdata/this_is_not_image.gif",
9595
expected: false,
9696
},
97+
{
98+
caseName: "does not existed.",
99+
path: "../testdata/does_not_existed.gif",
100+
expected: false,
101+
},
97102
}
98103

99104
for _, tc := range testcases {

0 commit comments

Comments
 (0)