diff --git a/tests/map.npp b/tests/map.npp new file mode 100644 index 0000000..6af0b46 --- /dev/null +++ b/tests/map.npp @@ -0,0 +1,8 @@ +# Map type operator and function tests + +a = [:] + +println("to_str") +println(a) +println(['a': 1]) +println(['b': 2 + 2]) diff --git a/tests/map.npp.expect b/tests/map.npp.expect new file mode 100644 index 0000000..1aac46a --- /dev/null +++ b/tests/map.npp.expect @@ -0,0 +1,4 @@ +to_str +[:] +['a': 1] +['b': 4]