diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2021-12-07 11:48:48 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2021-12-07 16:53:02 +0100 |
commit | e61cdf335f9d102621c37d0d366da61afa698c99 (patch) | |
tree | b54c91382743b4c0bb2a1b76487316140d9c34f5 /resources/image_test.go | |
parent | 6c3bc5ebad1788c8fcec81e7d46831cf356a94fc (diff) | |
download | hugo-e61cdf335f9d102621c37d0d366da61afa698c99.tar.gz hugo-e61cdf335f9d102621c37d0d366da61afa698c99.zip |
images: Fix cache busting of image text filter
See #9238
Diffstat (limited to 'resources/image_test.go')
-rw-r--r-- | resources/image_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/image_test.go b/resources/image_test.go index c2a5ee902..41558a7a5 100644 --- a/resources/image_test.go +++ b/resources/image_test.go @@ -676,7 +676,7 @@ func TestImageOperationsGolden(t *testing.T) { f.Overlay(gopher.(images.ImageSource), 20, 30), f.Text("No options"), f.Text("This long text is to test line breaks. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."), - f.Text("Hugo rocks!", map[string]interface{}{"x": 30, "y": 30, "size": 15, "color": "#ff0000"}), + f.Text("Hugo rocks!", map[string]interface{}{"x": 3, "y": 3, "size": 20, "color": "#fc03b1"}), } resized, err := orig.Fill("400x200 center") |