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:
parent
1fc2de8b43
commit
72e0f86f97
|
@ -112,10 +112,9 @@ fixtures bats
|
||||||
}
|
}
|
||||||
|
|
||||||
@test "test should not output DEBUG line if DEBUG is not set" {
|
@test "test should not output DEBUG line if DEBUG is not set" {
|
||||||
export DEBUG=1
|
|
||||||
run bats "$FIXTURE_ROOT/debug.bats"
|
run bats "$FIXTURE_ROOT/debug.bats"
|
||||||
[ $status -eq 0 ]
|
[ $status -eq 0 ]
|
||||||
# [[ ! $(echo $output | grep DEBUG) ]]
|
|
||||||
echo $output | {
|
echo $output | {
|
||||||
run grep DEBUG
|
run grep DEBUG
|
||||||
[[ $status -ne 0 ]]
|
[[ $status -ne 0 ]]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user