Skip to content

Commit

Permalink
test: fix a failing unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Pr0methean committed Jun 15, 2024
1 parent 58b982c commit 16aa9bc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/write.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2870,8 +2870,7 @@ mod test {
alignment: 65535,
..Default::default()
};
writer.add_directory_from_path("", options)?;
let _ = writer.finish_into_readable()?;
assert!(writer.add_directory_from_path("", options).is_err());
Ok(())
}

Expand Down

0 comments on commit 16aa9bc

Please sign in to comment.