summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorOliver looney <oliverjlooney@gmail.com>2023-12-18 17:44:52 +0000
committerOliver looney <oliverjlooney@gmail.com>2023-12-18 17:44:52 +0000
commit0027055a831febf3d728514b601cefc6b00d5b66 (patch)
treec524bb1acbb35d32afa81ee8f96d5ad011fc180a /tests
parent321b3ec81b706ad4302b0d16780d9eaf887773e7 (diff)
fixed system_wide_config.rs tests
Diffstat (limited to 'tests')
-rw-r--r--tests/system_wide_config.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/system_wide_config.rs b/tests/system_wide_config.rs
index 7c2a9972..1bbc64ad 100644
--- a/tests/system_wide_config.rs
+++ b/tests/system_wide_config.rs
@@ -12,7 +12,7 @@ fn use_systemwide_config() {
.arg("test.txt")
.assert()
.success()
- .stdout(predicate::eq("dummy-pager-from-system-config\n").normalize());
+ .stdout(predicate::eq("\u{1b}]2;bat: test.txt\x07dummy-pager-from-system-config\n").normalize());
}
// This test is ignored, as it needs a special system wide config put into place
@@ -25,5 +25,5 @@ fn config_overrides_system_config() {
.arg("test.txt")
.assert()
.success()
- .stdout(predicate::eq("dummy-pager-from-config\n").normalize());
+ .stdout(predicate::eq("\u{1b}]2;bat: test.txt\x07dummy-pager-from-config\n").normalize());
}