git.iko.soy
/
bat
readme
files
commits
refs
on
master
help
sign in
Add @sharkdp's regression test for #798
2dac1c8
Ethan P
7 years ago
tests/integration_tests.rs
+12
compare with master
unified
split
@@ -504,3 +504,15 @@ fn snip() {
504
"
,
504
"
,
505
);
505
);
506
}
506
}
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
+
}
keys
esc to close
j k
move down, up
enter
open
esc
back, or up a level
1 2 3 4
readme, files, commits, refs
/
filter
y
copy the clone command
c
compare the chosen commit with another (or shift-click both)
?
show or hide this list