mirror of
https://github.com/sharkdp/bat.git
synced 2024-11-22 07:43:39 +01:00
trying to fix failing system_wide_config.rs tests
This commit is contained in:
parent
6f1cc80d68
commit
c261b41578
@ -9,7 +9,7 @@ use utils::command::bat_with_config;
|
|||||||
#[ignore]
|
#[ignore]
|
||||||
fn use_systemwide_config() {
|
fn use_systemwide_config() {
|
||||||
bat_with_config().arg("test.txt").assert().success().stdout(
|
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")
|
.arg("test.txt")
|
||||||
.assert()
|
.assert()
|
||||||
.success()
|
.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());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user