Adding JPEG2000 file for the type tests

Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
This commit is contained in:
Yoan Blanc 2016-11-07 18:32:02 +01:00
parent fd796251aa
commit b7e65e7018
No known key found for this signature in database
GPG key ID: 6058CF4574298812
2 changed files with 2 additions and 0 deletions

BIN
fixtures/test.jp2 Normal file

Binary file not shown.

View file

@ -18,6 +18,7 @@ func TestDeterminateImageType(t *testing.T) {
{"test.gif", GIF},
{"test.pdf", PDF},
{"test.svg", SVG},
{"test.jp2", MAGICK},
}
for _, file := range files {
@ -42,6 +43,7 @@ func TestDeterminateImageTypeName(t *testing.T) {
{"test.gif", "gif"},
{"test.pdf", "pdf"},
{"test.svg", "svg"},
{"test.jp2", "magick"},
}
for _, file := range files {