Skip to content

Commit

Permalink
Merge pull request #3 from acridotheres/rustfmt-5402578459dac75f8936a…
Browse files Browse the repository at this point in the history
…42e920d82c56d582864

Format code using rustfmt for 5402578
  • Loading branch information
Le0X8 authored Jul 11, 2024
2 parents 5402578 + d4baa0c commit e031d79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/formats/zip/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ pub fn metadata(path: &str) -> ArchiveMetadata {
lfh_matches: lfh_signature == 0x04034b50, // local file header 1 signature matches
file_count: filecount as u128,
} // NO! THIS IS NOT A FILE COUNT, THIS IS JUST A VALUE READING TEST
}
}
2 changes: 1 addition & 1 deletion tests/zip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ fn metadata_000() {
let metadata = corelib::formats::zip::parser::metadata("tests/samples/zip/000.zip");
assert_eq!(metadata.lfh_matches, true);
//assert_eq!(metadata.file_count, 1);
}
}

0 comments on commit e031d79

Please sign in to comment.