aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2024-07-07 12:54:30 +0200
committerBjørn Erik Pedersen <[email protected]>2024-07-20 15:56:10 +0200
commit72ff937e11a6375da5b13788f855eafcc2452b85 (patch)
treecfda30d19de010b2ebf654b25f4958c65588510d /hugolib
parenta28bed0817b99eafde8486427eda10a3357ab7b8 (diff)
downloadhugo-72ff937e11a6375da5b13788f855eafcc2452b85.tar.gz
hugo-72ff937e11a6375da5b13788f855eafcc2452b85.zip
Switch EXIF library
Closes #10855 Closes #8586 Closes #8996
Diffstat (limited to 'hugolib')
-rw-r--r--hugolib/image_test.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/hugolib/image_test.go b/hugolib/image_test.go
index b3b933711..d58008512 100644
--- a/hugolib/image_test.go
+++ b/hugolib/image_test.go
@@ -82,12 +82,13 @@ SUNSET2: {{ $resized2.RelPermalink }}/{{ $resized2.Width }}/Lat: {{ $resized2.Ex
// Check the file cache
b.AssertImage(200, 200, "resources/_gen/images/bundle/sunset_hu59e56ffff1bc1d8d122b1403d34e039f_90587_200x200_resize_q75_box.jpg")
- b.AssertFileContent("resources/_gen/images/bundle/sunset_3166614710256882113.json",
- "DateTimeDigitized|time.Time", "PENTAX")
+ b.AssertFileContent("resources/_gen/images/bundle/sunset_9750822043026343402.json",
+ "FocalLengthIn35mmFormat|uint16", "PENTAX")
b.AssertImage(123, 234, "resources/_gen/images/images/sunset_hu59e56ffff1bc1d8d122b1403d34e039f_90587_123x234_resize_q75_box.jpg")
- b.AssertFileContent("resources/_gen/images/images/sunset_3166614710256882113.json",
- "DateTimeDigitized|time.Time", "PENTAX")
+
+ b.AssertFileContent("resources/_gen/images/images/sunset_9750822043026343402.json",
+ "FocalLengthIn35mmFormat|uint16", "PENTAX")
b.AssertNoDuplicateWrites()
}