Skip to content

Commit dc715d6

Browse files
Make test more robust against unpredictable order
1 parent 5d62e18 commit dc715d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/bats.bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1574,5 +1574,5 @@ HEREDOC
15741574
bats_require_minimum_version 1.5.0
15751575
reentrant_run ! bats "$FIXTURE_ROOT/passing.bats" --report-formatter "$REPORT_FORMATTER" --output "$BATS_TEST_TMPDIR"
15761576

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

0 commit comments

Comments
 (0)