1
0
mirror of https://github.com/sstephenson/bats.git synced 2024-11-17 11:42:33 +01:00

er. screwed up that last commit.

This commit is contained in:
Spike Grobstein 2013-08-31 13:49:27 -04:00
parent 1fc2de8b43
commit 72e0f86f97

View File

@ -112,10 +112,9 @@ fixtures bats
}
@test "test should not output DEBUG line if DEBUG is not set" {
export DEBUG=1
run bats "$FIXTURE_ROOT/debug.bats"
[ $status -eq 0 ]
# [[ ! $(echo $output | grep DEBUG) ]]
echo $output | {
run grep DEBUG
[[ $status -ne 0 ]]