strack trace is incorrect when setup() is present and test uses subshells
djerius opened this issue · 0 comments
djerius commented
Here's the test code
setup () {
true
}
@test "test" {
( false; )
}
And here's the somewhat confusing output:
% bats bug.bats
✗ test
(from function `setup' in test file bug.bats, line 2)
`true' failed
1 test, 1 failure