We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 75d46b1 + 46601a3 commit a1c5c46Copy full SHA for a1c5c46
ci/integration.sh
@@ -26,6 +26,10 @@ cargo fmt -- --version
26
# * `cargo fmt --all -- --check` after formatting returns success
27
# * `cargo test -all` still passes (formatting did not break the build)
28
function check_fmt {
29
+ cargo test --all
30
+ if [[ $? != 0 ]]; then
31
+ return 0
32
+ fi
33
touch rustfmt.toml
34
cargo fmt --all -v |& tee rustfmt_output
35
if [[ ${PIPESTATUS[0]} != 0 ]]; then
0 commit comments