Skip to content

Commit

Permalink
Make test more robust against unpredictable order
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-schulze-vireso committed Feb 3, 2023
1 parent 5d62e18 commit dc715d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/bats.bats
Original file line number Diff line number Diff line change
Expand Up @@ -1574,5 +1574,5 @@ HEREDOC
bats_require_minimum_version 1.5.0
reentrant_run ! bats "$FIXTURE_ROOT/passing.bats" --report-formatter "$REPORT_FORMATTER" --output "$BATS_TEST_TMPDIR"

[ "${lines[0]}" = "ERROR: command \`$REPORT_FORMATTER\` failed with status 11" ]
[[ "${output}" = *"ERROR: command \`$REPORT_FORMATTER\` failed with status 11"* ]] || false
}

0 comments on commit dc715d6

Please sign in to comment.