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

Updates for new rustfmt

This commit is contained in:
sharkdp
2018-05-14 18:30:52 +02:00
committed by David Peter
parent fcecd97224
commit 15b9acd12f
3 changed files with 4 additions and 6 deletions

View File

@@ -29,10 +29,7 @@ impl BatTester {
pub fn test_snapshot(&self, style: &str) {
let output = Command::new(&self.exe)
.args(&[
"tests/snapshots/sample.rs",
&format!("--style={}", style),
])
.args(&["tests/snapshots/sample.rs", &format!("--style={}", style)])
.output()
.expect("bat failed");
// have to do the replace because the filename in the header changes based on the current working directory