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:
@@ -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