diff --git a/test/results/symbol alias constant.ans b/test/results/symbol alias constant.ans new file mode 100644 index 0000000..f311b8f --- /dev/null +++ b/test/results/symbol alias constant.ans @@ -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 #-- +{} \ No newline at end of file diff --git a/test/results/text strip trailing space.ans b/test/results/text strip trailing space.ans new file mode 100644 index 0000000..299c6d4 --- /dev/null +++ b/test/results/text strip trailing space.ans @@ -0,0 +1,12 @@ +--# run #-- +--- text --- +| {}"" {}"a" {}" == " {}"a" {}"" | +| {}"" {}"a" {}" == " {}"a" {}"" | +| {}"" {}"a" {}" == " {}"a" {}"" | +| {}"" {}"a" {}" == " {}"a" {}"" | +| {}"" {}" a" {}" == " {}" a" {}"" | +| {}"" {}"a " {}" == " {}"a " {}"" | +--- return --- +() +--# saved #-- +{} \ No newline at end of file diff --git a/test/tests/symbol alias constant.ans b/test/tests/symbol alias constant.ans new file mode 100644 index 0000000..b07e6be --- /dev/null +++ b/test/tests/symbol alias constant.ans @@ -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 diff --git a/test/tests/text strip trailing space.ans b/test/tests/text strip trailing space.ans new file mode 100644 index 0000000..075678a --- /dev/null +++ b/test/tests/text strip trailing space.ans @@ -0,0 +1,6 @@ +|{|a|} == {| a |} +|{|a|} == {| a|} +|{|a|} == {|a |} +|{|a|} == {| a} +|{| a|} == {| a |} +|{|a |} == {| a |} \ No newline at end of file