1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-09-03 20:02:28 +01:00

Remove leftovers from tab-tests

This commit is contained in:
sharkdp
2018-10-19 21:10:32 +02:00
committed by David Peter
parent 88fcfd76aa
commit f7d9f49503
2 changed files with 20 additions and 22 deletions

View File

@@ -38,7 +38,7 @@ impl BatTester {
BatTester { temp_dir, exe }
}
pub fn test_snapshot(&self, name: &str, style: &str, tab_width: u32, wrap: bool) {
pub fn test_snapshot(&self, name: &str, style: &str) {
let output = Command::new(&self.exe)
.current_dir(self.temp_dir.path())
.args(&[
@@ -48,8 +48,6 @@ impl BatTester {
"--color=never",
"--decorations=always",
"--terminal-width=80",
&format!("--wrap={}", if wrap { "character" } else { "never" }),
&format!("--tabs={}", tab_width),
&format!("--style={}", style),
])
.output()