mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-09 13:10:40 +00:00
15 lines
286 B
Fish
15 lines
286 B
Fish
import plugins/fish-spec
|
|
|
|
function describe_expect
|
|
function before_each
|
|
set -e result
|
|
end
|
|
|
|
function it_is_false_when_comparison_does_not_exist
|
|
echo (expect true --invalid-comparison; set result $status) >/dev/null
|
|
expect $result --to-equal 1
|
|
end
|
|
end
|
|
|
|
spec.run $argv
|