diff options
author | sharkdp <davidpeter@web.de> | 2018-05-14 18:30:52 +0200 |
---|---|---|
committer | David Peter <sharkdp@users.noreply.github.com> | 2018-05-14 19:04:13 +0200 |
commit | 15b9acd12f2a7bc623ad92d1270fc3ac80236ccb (patch) | |
tree | a799cfaf484b2c48cd07cf434595e796a72ae393 /tests | |
parent | fcecd97224926625cf542e765d0f324c0b6e6c02 (diff) |
Updates for new rustfmt
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tester.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/tester.rs b/tests/tester.rs index 21a7829d..9865cbc1 100644 --- a/tests/tester.rs +++ b/tests/tester.rs @@ -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 |