diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-10-20 10:39:00 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-10-20 22:06:58 +0200 |
commit | 4b286b9d2722909d0682e50eeecdfe16c1f47fd8 (patch) | |
tree | 3efb5cd01bc95bc4eada991d01e5a3a84adee28c /hugolib/image_test.go | |
parent | 689f647baf96af078186f0cdc45199f7d0995d22 (diff) |
resources/images: Allow to set background fill colour
Closes #6298
Diffstat (limited to 'hugolib/image_test.go')
-rw-r--r-- | hugolib/image_test.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hugolib/image_test.go b/hugolib/image_test.go index a13338afc..d0bff75a2 100644 --- a/hugolib/image_test.go +++ b/hugolib/image_test.go @@ -205,10 +205,11 @@ 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_17701188623491591036.json", + + b.AssertFileContent("resources/_gen/images/bundle/sunset_7645215769587362592.json", "DateTimeDigitized|time.Time", "PENTAX") b.AssertImage(123, 234, "resources/_gen/images/sunset_hu59e56ffff1bc1d8d122b1403d34e039f_90587_123x234_resize_q75_box.jpg") - b.AssertFileContent("resources/_gen/images/sunset_17701188623491591036.json", + b.AssertFileContent("resources/_gen/images/sunset_7645215769587362592.json", "DateTimeDigitized|time.Time", "PENTAX") // TODO(bep) add this as a default assertion after Build()? |