aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDamian Gryski <[email protected]>2023-03-22 13:13:26 -0700
committerRon Evans <[email protected]>2023-03-25 22:32:29 +0100
commit3aa8c8e0d15a0fcaadbb8fb7d3c42e232f563af8 (patch)
tree2005a0a878ec5c32c740a1eebffb59421567c1e0
parent6cb7f29d9b14e3b84bda857da2256388d1a44914 (diff)
downloadtinygo-3aa8c8e0d15a0fcaadbb8fb7d3c42e232f563af8.tar.gz
tinygo-3aa8c8e0d15a0fcaadbb8fb7d3c42e232f563af8.zip
reflect: fix typo in unit test
-rw-r--r--src/reflect/value_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reflect/value_test.go b/src/reflect/value_test.go
index 618088b99..7881e27b3 100644
--- a/src/reflect/value_test.go
+++ b/src/reflect/value_test.go
@@ -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())
}