Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 31fbf34

Browse files
committed
add check for failed tests
1 parent 81a1d46 commit 31fbf34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/integration.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function check_fmt_with_lib_tests {
4343
function check_fmt_base {
4444
local test_args="$1"
4545
local build=$(cargo test $test_args 2>&1)
46-
if [[ "$build" =~ "build failed" ]]; then
46+
if [[ "$build" =~ "build failed" ]] || [[ "$build" =~ "test result: FAILED." ]]; then
4747
return 0
4848
fi
4949
touch rustfmt.toml

0 commit comments

Comments
 (0)