summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorOliver looney <oliverjlooney@gmail.com>2024-01-27 14:23:24 +0000
committerOliver looney <oliverjlooney@gmail.com>2024-01-27 14:23:24 +0000
commitc91182977159cfec891e4fb0be2a681bd33dcdba (patch)
treefe0e41a9e612d9679221196c6228696135270b40 /tests
parentb33e33fe260f44074f4bcac21a0798530b377228 (diff)
fixed failing tests
Diffstat (limited to 'tests')
-rw-r--r--tests/integration_tests.rs14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/integration_tests.rs b/tests/integration_tests.rs
index 47a75e5c..be70fdca 100644
--- a/tests/integration_tests.rs
+++ b/tests/integration_tests.rs
@@ -653,7 +653,7 @@ fn pager_disable() {
.arg("test.txt")
.assert()
.success()
- .stdout(predicate::eq("\u{1b}]0;bat: test.txt\x07hello world\n").normalize());
+ .stdout(predicate::eq("hello world\n").normalize());
}
#[test]
@@ -734,7 +734,7 @@ fn env_var_pager_value_bat() {
.arg("test.txt")
.assert()
.success()
- .stdout(predicate::eq("\u{1b}]0;bat: test.txt\x07hello world\n").normalize());
+ .stdout(predicate::eq("hello world\n").normalize());
}
#[test]
@@ -772,7 +772,7 @@ fn pager_most_from_pager_env_var() {
.arg("test.txt")
.assert()
.success()
- .stdout(predicate::eq("\u{1b}]0;bat: test.txt\x07hello world\n").normalize());
+ .stdout(predicate::eq("hello world\n").normalize());
});
}
@@ -818,7 +818,7 @@ fn pager_most_with_arg() {
.arg("test.txt")
.assert()
.success()
- .stdout(predicate::eq("\u{1b}]0;bat: test.txt\x07hello world\n").normalize());
+ .stdout(predicate::eq("hello world\n").normalize());
});
}
@@ -833,7 +833,7 @@ fn pager_more() {
.arg("test.txt")
.assert()
.success()
- .stdout(predicate::eq("\u{1b}]0;bat: test.txt\x07hello world\n").normalize());
+ .stdout(predicate::eq("hello world\n").normalize());
});
}
@@ -896,7 +896,7 @@ fn enable_pager_if_disable_paging_flag_comes_before_paging() {
.arg("test.txt")
.assert()
.success()
- .stdout(predicate::eq("\u{1b}]0;bat: test.txt\x07pager-output\n").normalize());
+ .stdout(predicate::eq("pager-output\n").normalize());
}
#[test]
@@ -908,7 +908,7 @@ fn enable_pager_if_pp_flag_comes_before_paging() {
.arg("test.txt")
.assert()
.success()
- .stdout(predicate::eq("\u{1b}]0;bat: test.txt\x07pager-output\n").normalize());
+ .stdout(predicate::eq("pager-output\n").normalize());
}
#[test]