Skip to content

Commit ef07234

Browse files
committed
Fix formatting (cargo fmt)
1 parent 59b281b commit ef07234

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

tests/test_golden_checksums.rs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,12 @@ fn find_oneview() -> Result<PathBuf> {
2929
for entry in fs::read_dir(&build_dir)? {
3030
let entry = entry?;
3131
let path = entry.path();
32-
if path.is_dir() && entry.file_name().to_string_lossy().starts_with("fastga-rs-") {
32+
if path.is_dir()
33+
&& entry
34+
.file_name()
35+
.to_string_lossy()
36+
.starts_with("fastga-rs-")
37+
{
3338
let oneview = path.join("out").join("ONEview");
3439
if oneview.exists() {
3540
return Ok(oneview);
@@ -75,7 +80,7 @@ fn sha256sum_1aln_normalized(path: &Path) -> Result<String> {
7580

7681
let mut grep = Command::new("grep")
7782
.arg("-v")
78-
.arg("^[!<]") // Filter out both '!' (provenance) and '<' (path-containing headers)
83+
.arg("^[!<]") // Filter out both '!' (provenance) and '<' (path-containing headers)
7984
.stdin(
8085
oneview
8186
.stdout

0 commit comments

Comments
 (0)