mirror of
https://github.com/zaphar/ucg.git
synced 2025-07-21 18:10:42 -04:00
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.
12 lines
201 B
Plaintext
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";
|
|
|; |