From 495e7fd3b1766c889f048a88c9702310f6d7c1a6 Mon Sep 17 00:00:00 2001 From: sharkdp Date: Thu, 11 Oct 2018 21:40:14 +0200 Subject: Add --no-config option --- tests/integration_tests.rs | 1 + tests/tester.rs | 1 + 2 files changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/integration_tests.rs b/tests/integration_tests.rs index 58482386..be68d677 100644 --- a/tests/integration_tests.rs +++ b/tests/integration_tests.rs @@ -6,6 +6,7 @@ use std::process::Command; fn bat() -> Command { let mut cmd = Command::main_binary().unwrap(); cmd.current_dir("tests/examples"); + cmd.arg("--no-config"); cmd } diff --git a/tests/tester.rs b/tests/tester.rs index 859c6f12..7307e2f9 100644 --- a/tests/tester.rs +++ b/tests/tester.rs @@ -43,6 +43,7 @@ impl BatTester { .current_dir(self.temp_dir.path()) .args(&[ "sample.rs", + "--no-config", "--paging=never", "--color=never", "--decorations=always", -- cgit v1.2.3