mirror of
https://github.com/zaphar/ucg.git
synced 2025-07-21 18:10:42 -04:00
* Assert now requires a tuple instead of a string containing statements. * We include a helpful ucg based unit testing module. Fixes: #26
8 lines
237 B
Plaintext
8 lines
237 B
Plaintext
assert {
|
|
ok = "hello " + "world" == "hello world",
|
|
desc = "\"hello \" + \"world\" == \"hello world\"",
|
|
};
|
|
assert {
|
|
ok = [1, 2, 3] + [4, 5, 6] == [1, 2, 3, 4, 5, 6],
|
|
desc = "[1, 2, 3] + [4, 5, 6] == [1, 2, 3, 4, 5, 6]",
|
|
}; |