mirror of
https://github.com/sharkdp/bat.git
synced 2024-09-29 22:21:29 +02:00
Add @sharkdp's regression test for #798
This commit is contained in:
parent
1225e65299
commit
2dac1c8785
@ -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("");
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user