reflect: fix typo in unit test

This commit is contained in:
Damian Gryski
2023-03-22 13:13:26 -07:00
committed by Ron Evans
parent 6cb7f29d9b
commit 3aa8c8e0d1
+1 -1
View File
@@ -162,7 +162,7 @@ func TestTinyMap(t *testing.T) {
utKeys := refut.MapKeys()
// make sure keys extracted via reflection have the correct ype
// make sure keys extracted via reflection have the correct type
if _, ok := utKeys[0].Interface().(unmarshalerText); !ok {
t.Errorf("Map keys via MapKeys() have wrong type: %v", utKeys[0].Type().String())
}