Add map tests

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2024-10-15 19:02:55 -07:00
parent 2ec122016c
commit e8461cd58b
2 changed files with 12 additions and 0 deletions

8
tests/map.npp Normal file
View File

@@ -0,0 +1,8 @@
# Map type operator and function tests
a = [:]
println("to_str")
println(a)
println(['a': 1])
println(['b': 2 + 2])

4
tests/map.npp.expect Normal file
View File

@@ -0,0 +1,4 @@
to_str
[:]
['a': 1]
['b': 4]