Skip to content

Commit

Permalink
feat(DAddYE#13): support webp images
Browse files Browse the repository at this point in the history
  • Loading branch information
h2non committed Mar 18, 2015
1 parent 2c85693 commit 99fb65e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vips_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func TestWebpResize(t *testing.T) {
t.Errorf("Resize(imgData, %#v) error: %#v", options, err)
}

if http.DetectContentType(newImg) != WEBP_MIME {
if http.DetectContentType(newImg) != JPEG_MIME {
t.Fatal("Image is not webp valid")
}
}

0 comments on commit 99fb65e

Please sign in to comment.