jorgebucaran / fishtape

100% pure-Fish test runner
MIT License
347 stars 20 forks source link

When a test fails fishtape return status 0 instead of 1 #47

Closed FabioAntunes closed 5 years ago

FabioAntunes commented 5 years ago

I have a file with this test:

@test "math is real" (math 41 + 1) -eq 43

Which produces this output:

TAP version 13
not ok 1 math is real
  ---
    operator: -eq
    expected: 43
    actual:   42
  ...

1..1
# pass 0
# fail 1

But the status code is always 0

Some info Fish version: 3.0.2 OS: macOS Mojave terminal: iTerm2