Merge remote-tracking branch 'sharkdp/master'

This commit is contained in:
Dash Peters
2020-07-02 00:04:55 -07:00
11 changed files with 44 additions and 19 deletions

View File

@ -29,6 +29,9 @@ fn all_themes_are_present() {
"ansi-dark",
"ansi-light",
"base16",
"gruvbox",
"gruvbox-light",
"gruvbox-white",
"zenburn"
]
);

BIN
tests/examples/nonprintable.txt vendored Normal file

Binary file not shown.

View File

@ -739,3 +739,13 @@ fn do_not_detect_different_syntax_for_stdin_and_files() {
from_utf8(&cmd_for_stdin.get_output().stdout).expect("output is valid utf-8")
);
}
#[test]
fn show_all_mode() {
bat()
.arg("--show-all")
.arg("nonprintable.txt")
.assert()
.stdout("hello•world␊\n├──┤␍␀␇␈␛")
.stderr("");
}