Add @sharkdp's regression test for #798

This commit is contained in:
Ethan P 2020-02-27 15:09:01 -08:00 committed by David Peter
parent 1225e65299
commit 2dac1c8785
1 changed files with 12 additions and 0 deletions

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("");
}