mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-15 02:15:54 -07:00
fix go vet issues
This commit is contained in:
parent
ba94508be7
commit
c5178911de
3 changed files with 6 additions and 6 deletions
|
|
@ -58,7 +58,7 @@ func TestResizeVerticalImage(t *testing.T) {
|
|||
}
|
||||
|
||||
if DetermineImageType(image) != test.format {
|
||||
t.Fatal("Image format is invalid. Expected: %s", test.format)
|
||||
t.Fatalf("Image format is invalid. Expected: %v", test.format)
|
||||
}
|
||||
|
||||
size, _ := Size(image)
|
||||
|
|
@ -99,7 +99,7 @@ func TestResizeCustomSizes(t *testing.T) {
|
|||
}
|
||||
|
||||
if DetermineImageType(image) != test.format {
|
||||
t.Fatal("Image format is invalid. Expected: %s", test.format)
|
||||
t.Fatalf("Image format is invalid. Expected: %v", test.format)
|
||||
}
|
||||
|
||||
size, _ := Size(image)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue