aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/reflect/reflect_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/reflect/reflect_test.go')
-rw-r--r--tpl/reflect/reflect_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/tpl/reflect/reflect_test.go b/tpl/reflect/reflect_test.go
index 745360ee7..f85af87dd 100644
--- a/tpl/reflect/reflect_test.go
+++ b/tpl/reflect/reflect_test.go
@@ -26,8 +26,8 @@ type tstNoStringer struct{}
func TestIsMap(t *testing.T) {
c := qt.New(t)
for _, test := range []struct {
- v interface{}
- expect interface{}
+ v any
+ expect any
}{
{map[int]int{1: 1}, true},
{"foo", false},
@@ -41,8 +41,8 @@ func TestIsMap(t *testing.T) {
func TestIsSlice(t *testing.T) {
c := qt.New(t)
for _, test := range []struct {
- v interface{}
- expect interface{}
+ v any
+ expect any
}{
{[]int{1, 2}, true},
{"foo", false},