From 68f4faa42099723ba3d33cd18290d6d3f10f26e6 Mon Sep 17 00:00:00 2001 From: Tomas Date: Wed, 12 Aug 2020 16:43:30 +0200 Subject: [PATCH] fix(tests): autorotate --- image_test.go | 2 +- vips_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/image_test.go b/image_test.go index aef4b59..dbe7f3e 100644 --- a/image_test.go +++ b/image_test.go @@ -359,7 +359,7 @@ func TestImageAutoRotate(t *testing.T) { {"exif/Landscape_2.jpg", 1}, {"exif/Landscape_3.jpg", 1}, {"exif/Landscape_4.jpg", 1}, - {"exif/Landscape_5.jpg", 5}, + {"exif/Landscape_5.jpg", 1}, {"exif/Landscape_6.jpg", 1}, {"exif/Landscape_7.jpg", 1}, } diff --git a/vips_test.go b/vips_test.go index b4fb2f2..e3092bd 100644 --- a/vips_test.go +++ b/vips_test.go @@ -97,7 +97,7 @@ func TestVipsAutoRotate(t *testing.T) { {"exif/Landscape_1.jpg", 0}, {"exif/Landscape_2.jpg", 0}, {"exif/Landscape_3.jpg", 0}, - {"exif/Landscape_4.jpg", 4}, + {"exif/Landscape_4.jpg", 0}, {"exif/Landscape_5.jpg", 5}, {"exif/Landscape_6.jpg", 0}, {"exif/Landscape_7.jpg", 7},