Updates for new rustfmt

This commit is contained in:
sharkdp authored and David Peter committed 2018-05-14 19:04:13 +02:00
1 parent fcecd97224
commit 15b9acd12f
3 files changed
+4 -6

No files matched your search

+1 -4
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