8
tests/map.npp
Normal file
8
tests/map.npp
Normal 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
4
tests/map.npp.expect
Normal file
@@ -0,0 +1,4 @@
|
||||
to_str
|
||||
[:]
|
||||
['a': 1]
|
||||
['b': 4]
|
||||
Reference in New Issue
Block a user