ucg/integration_tests/format_test.ucg
Jeremy Wall d2f0ea9f24 FEATURE: Better error reporting.
Slight change to how assert works to support this. We no longer automatically add
a semicolon to the expressions we require the user to right them. This updates the
docs to illustrate that and reformats our integration test suite for this and
readability.
2018-11-06 19:40:56 -06:00

12 lines
201 B
Plaintext

assert |
"hello @" % ("world") == "hello world";
|;
assert |
"1 @ @" % (2, 3) == "1 2 3";
|;
assert |
"@ or @" % (true, false) == "true or false";
|;
assert |
"@" % (NULL) == "NULL";
|;