mirror of
https://github.com/wader/fq.git
synced 2024-12-26 15:02:28 +03:00
10 lines
178 B
Plaintext
10 lines
178 B
Plaintext
def assert($name; $a; $b):
|
|
( if $a == $b then "PASS \($name)\n"
|
|
else
|
|
( "FAIL \($name) \($a) != \($b)\n"
|
|
, (null | halt_error(1))
|
|
)
|
|
end
|
|
, empty
|
|
);
|