aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib
diff options
context:
space:
mode:
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()
}