mirror of
https://github.com/sstephenson/bats.git
synced 2026-02-25 01:08:10 +01:00
Don't indent the output of failed tests
This commit is contained in:
@@ -85,9 +85,9 @@ fixtures bats
|
||||
@test "output is discarded for passing tests and printed for failing tests" {
|
||||
run bats "$FIXTURE_ROOT/output.bats"
|
||||
[ $status -eq 1 ]
|
||||
[ "${lines[5]}" = "# failure stdout 1" ]
|
||||
[ "${lines[6]}" = "# failure stdout 2" ]
|
||||
[ "${lines[9]}" = "# failure stderr" ]
|
||||
[ "${lines[5]}" = "# failure stdout 1" ]
|
||||
[ "${lines[6]}" = "# failure stdout 2" ]
|
||||
[ "${lines[9]}" = "# failure stderr" ]
|
||||
}
|
||||
|
||||
@test "-c prints the number of tests" {
|
||||
|
||||
Reference in New Issue
Block a user