Remove all relevant environment variables during testing

This commit is contained in:
sharkdp authored and David Peter committed 2018-11-04 11:19:49 +01:00
1 parent 48c6ea6b25
commit 5f576f1ecf
1 file changed
+3
+3
View File
@@ -9,6 +9,9 @@ fn bat_with_config() -> Command {
cmd.env_remove("PAGER");
cmd.env_remove("BAT_PAGER");
cmd.env_remove("BAT_CONFIG_PATH");
cmd.env_remove("BAT_STYLE");
cmd.env_remove("BAT_THEME");
cmd.env_remove("BAT_TABS");
cmd
}