mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-28 00:59:31 +00:00
Add test for constant aliases and text trailing space removal
This commit is contained in:
parent
bc41dd1dd2
commit
db8ae03927
4 changed files with 42 additions and 0 deletions
12
test/tests/symbol alias constant.ans
Normal file
12
test/tests/symbol alias constant.ans
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
:l = *[1,2,3]
|
||||
|
||||
::&c = l(2)
|
||||
|
||||
| c={c} (2)
|
||||
| l={l} (*[1,2,3])
|
||||
|
||||
::&d = "{l(2)}"
|
||||
|
||||
| d={c} (2)
|
||||
|
||||
d = 5
|
||||
6
test/tests/text strip trailing space.ans
Normal file
6
test/tests/text strip trailing space.ans
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
|{|a|} == {| a |}
|
||||
|{|a|} == {| a|}
|
||||
|{|a|} == {|a |}
|
||||
|{|a|} == {| a}
|
||||
|{| a|} == {| a |}
|
||||
|{|a |} == {| a |}
|
||||
Loading…
Add table
Add a link
Reference in a new issue