mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-08 23:18:19 -07:00
refactor(type): simplify image type matching
This commit is contained in:
parent
d06464fca2
commit
9342d6482a
3 changed files with 23 additions and 29 deletions
|
|
@ -68,7 +68,7 @@ func TestIsTypeNameSupported(t *testing.T) {
|
|||
name string
|
||||
expected bool
|
||||
}{
|
||||
{"jpg", true},
|
||||
{"jpeg", true},
|
||||
{"png", true},
|
||||
{"webp", true},
|
||||
{"gif", false},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue