Add @sharkdp's regression test for #798

This commit is contained in:
Ethan P authored and David Peter committed 2020-02-28 07:56:24 +01:00
1 parent 1225e65299
commit 2dac1c8785
1 file changed
+12
+12
View File
@@ -504,3 +504,15 @@ fn snip() {
",
);
}
#[test]
fn empty_file_leads_to_empty_output_with_grid_enabled() {
bat()
.arg("empty.txt")
.arg("--style=grid")
.arg("--decorations=always")
.arg("--terminal-width=80")
.assert()
.success()
.stdout("");
}