mirror of
https://github.com/wader/fq.git
synced 2024-11-27 06:04:47 +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
|
||
|
);
|