Skip to content

Commit 8c43e54

Browse files
committed
fix: swap the error codes
1 parent 9d0b75f commit 8c43e54

File tree

1 file changed

+2
-2
lines changed
  • tests/run-make/no-intermediate-extras

1 file changed

+2
-2
lines changed

tests/run-make/no-intermediate-extras/rmake.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ fn main() {
1313
match fs::remove_file(tmp_dir().join("foo.bc")) {
1414
Ok(_) => {
1515
println!("An unwanted .bc file was created by run-make/no-intermediate-extras.");
16-
std::process::exit(0);
16+
std::process::exit(1);
1717
}
1818
Err(e) => {
19-
std::process::exit(1);
19+
std::process::exit(0);
2020
}
2121
}
2222
}

0 commit comments

Comments
 (0)