aboutsummaryrefslogtreecommitdiffhomepage
path: root/resources/image_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'resources/image_test.go')
-rw-r--r--resources/image_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/image_test.go b/resources/image_test.go
index e85fe9b9a..a7577e0a6 100644
--- a/resources/image_test.go
+++ b/resources/image_test.go
@@ -351,7 +351,7 @@ func TestImageWithMetadata(t *testing.T) {
image := fetchSunset(c)
- meta := []map[string]interface{}{
+ meta := []map[string]any{
{
"title": "My Sunset",
"name": "Sunset #:counter",
@@ -694,7 +694,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": 3, "y": 3, "size": 20, "color": "#fc03b1"}),
+ f.Text("Hugo rocks!", map[string]any{"x": 3, "y": 3, "size": 20, "color": "#fc03b1"}),
}
resized, err := orig.Fill("400x200 center")