Skip to content

Commit

Permalink
test: remove the env set by Cargo
Browse files Browse the repository at this point in the history
Signed-off-by: hi-rustin <[email protected]>
  • Loading branch information
Rustin170506 committed Dec 26, 2023
1 parent 1f496dd commit 509c75e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/testsuite/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4941,6 +4941,7 @@ fn cargo_test_set_out_dir_env_var() {

p.cargo("test").run();
p.cargo("test --package foo --test case -- tests::test_add --exact --nocapture")
.env_remove("OUT_DIR")
.with_stdout_contains("test tests::test_add ... FAILED")
.with_status(101)
.run();
Expand Down

0 comments on commit 509c75e

Please sign in to comment.