Skip to content

Commit a12ece3

Browse files
committed
clitools: Remove RUST_BACKTRACE from environment during tests
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
1 parent 64066fa commit a12ece3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/mock/clitools.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ pub fn setup(s: Scenario, f: &dyn Fn(&mut Config)) {
6969
env::remove_var("RUSTUP_TOOLCHAIN");
7070
env::remove_var("SHELL");
7171
env::remove_var("ZDOTDIR");
72+
env::remove_var("RUST_BACKTRACE");
7273

7374
let current_exe_path = env::current_exe().map(PathBuf::from).unwrap();
7475
let mut exe_dir = current_exe_path.parent().unwrap();

0 commit comments

Comments
 (0)