Skip to content

Commit

Permalink
improve test
Browse files Browse the repository at this point in the history
  • Loading branch information
francisdb committed Apr 5, 2024
1 parent 4ef929c commit fcf3533
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/malformed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ fn invalid_num_dir_sectors_issue_52() {
// update the header and set num_dir_sectors = 1 instead of 2
let mut cursor = comp.into_inner();
cursor.seek(SeekFrom::Start(40)).unwrap();
cursor.write_all(&[0x01, 0x00, 0x00, 0x00]).unwrap();
cursor.write_u32::<LittleEndian>(1).unwrap();
cursor.flush().unwrap();

// Read the file back in.
Expand Down

0 comments on commit fcf3533

Please sign in to comment.