Remove all relevant environment variables during testing

This commit is contained in:
sharkdp 2018-11-04 10:50:28 +01:00 committed by David Peter
parent 48c6ea6b25
commit 5f576f1ecf

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
}