summaryrefslogtreecommitdiff
path: root/context_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'context_test.go')
-rw-r--r--context_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/context_test.go b/context_test.go
index a0985be9..72ccc62b 100644
--- a/context_test.go
+++ b/context_test.go
@@ -53,13 +53,13 @@ func TestCreateContext(t *testing.T) {
require.NoError(t, err)
assert.IsType(t, &tmplctx{}, c)
tctx := c.(*tmplctx)
- ds := ((*tctx)["foo"]).(map[string]interface{})
+ ds := ((*tctx)["foo"]).(map[string]any)
assert.Equal(t, "bar", ds["foo"])
t.Setenv("bar", "bar: baz")
c, err = createTmplContext(ctx, []string{"."}, sr)
require.NoError(t, err)
- assert.IsType(t, map[string]interface{}{}, c)
- ds = c.(map[string]interface{})
+ assert.IsType(t, map[string]any{}, c)
+ ds = c.(map[string]any)
assert.Equal(t, "baz", ds["bar"])
}