mirror of
https://github.com/sharkdp/bat.git
synced 2024-12-24 07:18:55 +01:00
Remove all relevant environment variables during testing
This commit is contained in:
parent
48c6ea6b25
commit
5f576f1ecf
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user