summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorsharkdp <davidpeter@web.de>2018-11-04 10:50:28 +0100
committerDavid Peter <sharkdp@users.noreply.github.com>2018-11-04 11:19:49 +0100
commit5f576f1ecf0f431370a77abe04a7946c192529da (patch)
tree7c5fb8f59c0bd97923467212cc3bb536576e1cb8 /tests
parent48c6ea6b252ae8720db67b49773a90dd6a9f4536 (diff)
Remove all relevant environment variables during testing
Diffstat (limited to 'tests')
-rw-r--r--tests/integration_tests.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/integration_tests.rs b/tests/integration_tests.rs
index c5a67450..28761188 100644
--- a/tests/integration_tests.rs
+++ b/tests/integration_tests.rs
@@ -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
}