trying to fix failing system_wide_config.rs tests

This commit is contained in:
Oliver looney 2023-12-31 22:44:17 +00:00
parent 6f1cc80d68
commit c261b41578
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}]2;bat: test.txt\x07dummy-pager-from-system-config\n").normalize(),
predicate::eq("\u{1b}]0;bat: test.txt\x07dummy-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}]2;bat: test.txt\x07dummy-pager-from-config\n").normalize());
.stdout(predicate::eq("\u{1b}]0;bat: test.txt\x07dummy-pager-from-config\n").normalize());
}