Skip to content

Commit 32b5ef5

Browse files
committed
Expand the test for {interpolation} after two double quotes
1 parent a36f2b3 commit 32b5ef5

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

test/asm/interpolation-after-string.asm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
def hello = $11
2-
def goodbye = $22
1+
def concat equs """++ "hi world" ++"""
2+
println ""{concat}""
33

44
def greeting equs "hello"
55
println ""{greeting}

test/asm/interpolation-after-string.err

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
error: interpolation-after-string.asm(2):
2+
Unknown character '{'
3+
error: interpolation-after-string.asm(2):
4+
Unknown character '}'
15
error: interpolation-after-string.asm(5):
26
Unknown character '{'
37
error: interpolation-after-string.asm(5):
@@ -11,4 +15,4 @@ error: interpolation-after-string.asm(8):
1115
syntax error, unexpected symbol
1216
error: interpolation-after-string.asm(8):
1317
Unknown character '}'
14-
Assembly aborted with 6 errors!
18+
Assembly aborted with 8 errors!
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
hi world

0 commit comments

Comments
 (0)