mirror of
https://github.com/zaphar/ucg.git
synced 2025-07-22 18:19:54 -04:00
* Assert now requires a tuple instead of a string containing statements. * We include a helpful ucg based unit testing module. Fixes: #26
13 lines
291 B
Plaintext
13 lines
291 B
Plaintext
let empty_list = [];
|
|
|
|
let concatenated = ["foo"] + ["bar"];
|
|
|
|
assert {
|
|
ok = concatenated == ["foo", "bar"],
|
|
desc = "concatenated == [\"foo\", \"bar\"]",
|
|
};
|
|
|
|
assert {
|
|
ok = concatenated + empty_list == ["foo", "bar"],
|
|
desc = "concatenated + empty_list == [\"foo\", \"bar\"]",
|
|
}; |