Add a couple more in-string eval unit tests to check for proper escaping
This commit is contained in:
4
unittests/instring_eval_more.chai
Normal file
4
unittests/instring_eval_more.chai
Normal file
@@ -0,0 +1,4 @@
|
||||
print("$ {4 + 5}")
|
||||
print("$${4+5}")
|
||||
print("Value: \${4 + 5}")
|
||||
print("Value: \$${4 + 5}")
|
4
unittests/instring_eval_more.txt
Normal file
4
unittests/instring_eval_more.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
$ {4 + 5}
|
||||
$9
|
||||
Value: ${4 + 5}
|
||||
Value: $9
|
Reference in New Issue
Block a user