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

Formatted with newer cargo fmt.

It should pass all the checks now.
This commit is contained in:
eth-p
2018-05-15 17:45:58 -07:00
committed by sharkdp
parent 900f61032d
commit d569693dab
5 changed files with 13 additions and 12 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