summaryrefslogtreecommitdiffstats
path: root/tests/integration_tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration_tests.rs')
-rw-r--r--tests/integration_tests.rs21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/integration_tests.rs b/tests/integration_tests.rs
index 72499ea9..c0c282e3 100644
--- a/tests/integration_tests.rs
+++ b/tests/integration_tests.rs
@@ -129,6 +129,27 @@ fn concatenate_empty_first_and_last() {
}
#[test]
+fn concatenate_single_line() {
+ bat()
+ .arg("single-line.txt")
+ .arg("single-line.txt")
+ .assert()
+ .success()
+ .stdout("Single LineSingle Line");
+}
+
+#[test]
+fn concatenate_single_line_empty() {
+ bat()
+ .arg("single-line.txt")
+ .arg("empty.txt")
+ .arg("single-line.txt")
+ .assert()
+ .success()
+ .stdout("Single LineSingle Line");
+}
+
+#[test]
fn line_numbers() {
bat()
.arg("multiline.txt")