diff options
Diffstat (limited to 'lib/ini/common_test.go')
| -rw-r--r-- | lib/ini/common_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/ini/common_test.go b/lib/ini/common_test.go index c41de518..64190ce5 100644 --- a/lib/ini/common_test.go +++ b/lib/ini/common_test.go @@ -105,14 +105,13 @@ func TestParseTag_fromStruct(t *testing.T) { {`a`, `b ": c`, `d`, ``}, } - adt ADT vtype reflect.Type field reflect.StructField tag string got []string ) - vtype = reflect.TypeOf(adt) + vtype = reflect.TypeFor[ADT]() for x := range vtype.NumField() { field = vtype.Field(x) |
