mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-06 16:57:04 +08:00
9 lines
313 B
ChaiScript
9 lines
313 B
ChaiScript
assert_equal("\$ {4 + 5}", "$ {4 + 5}")
|
|
assert_equal("\$9", "$${4+5}")
|
|
assert_equal("Value: \${4 + 5}", "Value: \${4 + 5}")
|
|
assert_equal("Value: \$9", "Value: \$${4 + 5}")
|
|
assert_equal("\$code\$", "$code$")
|
|
assert_equal("\$\$", "$$")
|
|
assert_equal("\$", "$")
|
|
assert_equal("\${", "\${") // ensure this doesn't fail
|