mirror of
https://github.com/sharkdp/bat.git
synced 2025-09-04 04:12:31 +01:00
Make tests more robust
This commit is contained in:
@@ -43,6 +43,8 @@ impl BatTester {
|
|||||||
.current_dir(self.temp_dir.path())
|
.current_dir(self.temp_dir.path())
|
||||||
.args(&[
|
.args(&[
|
||||||
"sample.rs",
|
"sample.rs",
|
||||||
|
"--paging=never",
|
||||||
|
"--color=never",
|
||||||
"--decorations=always",
|
"--decorations=always",
|
||||||
"--terminal-width=80",
|
"--terminal-width=80",
|
||||||
&format!("--wrap={}", if wrap { "character" } else { "never" }),
|
&format!("--wrap={}", if wrap { "character" } else { "never" }),
|
||||||
|
Reference in New Issue
Block a user