Skip to content

Commit

Permalink
fix error message test
Browse files Browse the repository at this point in the history
  • Loading branch information
royaltm committed Mar 1, 2024
1 parent 40a1668 commit 9da89bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/decode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ mod tests {
fn decode_error_works() {
let rd = io::Cursor::new(vec![0u8;3]);
let mut err = LhaDecodeReader::new(rd).unwrap_err();
assert_eq!(err.to_string(), "LHA decode error: while parsing header: a header is missing");
assert_eq!(err.to_string(), "LHA decode error: while parsing LHA header: a header is missing");
assert_eq!(err.get_ref().get_ref(), &vec![0u8;3]);
assert_eq!(err.get_mut().get_mut(), &mut vec![0u8;3]);
let rd = err.into_inner();
Expand Down

0 comments on commit 9da89bb

Please sign in to comment.