Skip to content

Commit

Permalink
Fix decompress_mem_alloc_error test in aplib.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
snaphat authored Dec 27, 2022
1 parent 16c2d3a commit 6163f77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aplib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ mod tests
let err = super::decompress(&input_data).unwrap_err();
assert_eq!(
err.to_string(),
"Aplib Decompression Error: memory allocation failed because the memory allocator returned an error"
"Aplib Decompression Error: memory allocation failed because the computed capacity exceeded the collection's maximum"
);
}
}

0 comments on commit 6163f77

Please sign in to comment.