You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
function assert --wraps test
|
|
if builtin test $argv
|
|
emit assertion_success
|
|
else
|
|
set -l assertion_status $status
|
|
emit assertion_error (assert.error_message $argv)
|
|
return $assertion_status
|
|
end
|
|
end
|