fixed system wide config tests failing

This commit is contained in:
Oliver looney 2024-01-27 14:38:09 +00:00
parent 22254936a2
commit 9be2a36a01
No known key found for this signature in database

View File

@ -9,7 +9,7 @@ use utils::command::bat_with_config;
#[ignore]
fn use_systemwide_config() {
bat_with_config().arg("test.txt").assert().success().stdout(
predicate::eq("\u{1b}]0;bat: test.txt\x07dummy-pager-from-system-config\n").normalize(),
predicate::eq("dummy-pager-from-system-config\n").normalize(),
);
}
@ -23,5 +23,5 @@ fn config_overrides_system_config() {
.arg("test.txt")
.assert()
.success()
.stdout(predicate::eq("\u{1b}]0;bat: test.txt\x07dummy-pager-from-config\n").normalize());
.stdout(predicate::eq("dummy-pager-from-config\n").normalize());
}