fix(vips): panic error on exif orientation

This commit is contained in:
Tomas Aparicio 2015-04-12 17:03:52 +02:00
parent 4bf5d7391e
commit 6142436743
3 changed files with 13 additions and 6 deletions

View file

@ -47,7 +47,7 @@ func TestMetadata(t *testing.T) {
for _, file := range files {
metadata, err := Metadata(readFile(file.name))
if err != nil {
t.Fatalf("Cannot read the image: %#v", err)
t.Fatalf("Cannot read the image: %s -> %s", file.name, err)
}
if metadata.Type != file.format {