mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-07 01:06:54 +08:00
Add some unit tests for in-string eval
This commit is contained in:
parent
5092713876
commit
0fbb7c44bd
3
unittests/instring_eval.chai
Normal file
3
unittests/instring_eval.chai
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
var bob = 5.5
|
||||||
|
print("${bob}")
|
||||||
|
print("val: ${5.5 + 2.5} and ${bob + 2.5}")
|
||||||
2
unittests/instring_eval.txt
Normal file
2
unittests/instring_eval.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
5.5
|
||||||
|
val: 8 and 8
|
||||||
Loading…
x
Reference in New Issue
Block a user