1
0
Fork 0
mirror of https://github.com/Reuh/anselme.git synced 2025-10-27 16:49:31 +00:00

Add test for constant aliases and text trailing space removal

This commit is contained in:
Étienne Fildadut 2023-12-30 02:02:11 +01:00
parent bc41dd1dd2
commit db8ae03927
4 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,12 @@
--# run #--
--- text ---
| {}"c=" {}"2" {}" (2)" |
| {}"l=" {}"*[1, 2, 3]" {}" (*[1,2,3])" |
--- text ---
| {}"d=" {}"2" {}" (2)" |
--- error ---
trying to change the value of constant d
↳ from test/tests/symbol alias constant.ans:12:3 in assignment: d = 5
↳ from ? in block: :l = *[1, 2, 3]…
--# saved #--
{}

View file

@ -0,0 +1,12 @@
--# run #--
--- text ---
| {}"" {}"a" {}" == " {}"a" {}"" |
| {}"" {}"a" {}" == " {}"a" {}"" |
| {}"" {}"a" {}" == " {}"a" {}"" |
| {}"" {}"a" {}" == " {}"a" {}"" |
| {}"" {}" a" {}" == " {}" a" {}"" |
| {}"" {}"a " {}" == " {}"a " {}"" |
--- return ---
()
--# saved #--
{}