mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-30 10:06:12 +00:00
Updates for new rustfmt
This commit is contained in:
1 parent
fcecd97224
commit
15b9acd12f
3 files changed
+4
-6
No files matched your search
+1
-4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user