summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPrat T <pt2121@users.noreply.github.com>2020-05-12 07:06:58 -0700
committerDavid Peter <sharkdp@users.noreply.github.com>2020-05-12 16:37:29 +0200
commitb3373398e81d25ece5c654e4e755a38eb0de135e (patch)
tree5d9909d7d6d022e525d08606b8c80070e448113f /tests
parent0040fef2153d70a4d184d5f0b77415e238f2b4e0 (diff)
Remove padding if the header style is not enabled
Diffstat (limited to 'tests')
-rw-r--r--tests/integration_tests.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/integration_tests.rs b/tests/integration_tests.rs
index c8d3d37f..b35b5ff9 100644
--- a/tests/integration_tests.rs
+++ b/tests/integration_tests.rs
@@ -632,11 +632,11 @@ fn filename_multiple_err() {
fn header_padding() {
bat()
.arg("--decorations=always")
- .arg("--style=plain")
+ .arg("--style=header")
.arg("test.txt")
.arg("single-line.txt")
.assert()
- .stdout("hello world\n\nSingle Line\n")
+ .stdout("File: test.txt\nhello world\n\nFile: single-line.txt\nSingle Line\n")
.stderr("");
}