summaryrefslogtreecommitdiffstats
path: root/tests/integration_tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration_tests.rs')
-rw-r--r--tests/integration_tests.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/integration_tests.rs b/tests/integration_tests.rs
index da0690ef..09ac8498 100644
--- a/tests/integration_tests.rs
+++ b/tests/integration_tests.rs
@@ -406,6 +406,16 @@ fn pager_disable() {
}
#[test]
+fn pager_value_bat() {
+ bat()
+ .arg("--pager=bat")
+ .arg("--paging=always")
+ .arg("test.txt")
+ .assert()
+ .failure();
+}
+
+#[test]
fn alias_pager_disable() {
bat()
.env("PAGER", "echo other-pager")