mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-09 07:28:44 -07:00
Adding JPEG2000 file for the type tests
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
This commit is contained in:
parent
fd796251aa
commit
b7e65e7018
2 changed files with 2 additions and 0 deletions
BIN
fixtures/test.jp2
Normal file
BIN
fixtures/test.jp2
Normal file
Binary file not shown.
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue