on master help sign in
Add @sharkdp's regression test for #798
commit2dac1c878543971946067e059132edff83e37a49 authorEthan P <eth-p+git@hidden.email> dateThu 27 Feb 2020, 15:09 (7 years ago) parent1225e65
1 file changed+12
tests/integration_tests.rs+12
tests/integration_tests.rs+12
@@ -504,3 +504,15 @@ fn snip() {
504504",
505505 );
506506}
507+
508+#[test]
509+fn empty_file_leads_to_empty_output_with_grid_enabled() {
510+ bat()
511+ .arg("empty.txt")
512+ .arg("--style=grid")
513+ .arg("--decorations=always")
514+ .arg("--terminal-width=80")
515+ .assert()
516+ .success()
517+ .stdout("");
518+}