mirror of
https://github.com/sharkdp/bat.git
synced 2024-12-26 16:28:50 +01:00
fixed system wide config tests failing
This commit is contained in:
parent
22254936a2
commit
9be2a36a01
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user