mirror of
https://github.com/image-rs/image
synced 2024-10-18 16:52:23 +00:00
Fix data in bad_gif_oom regression test
With the new gif crate version, it gave a different error as was.
This commit is contained in:
parent
7af925b193
commit
a616091553
|
@ -64,7 +64,7 @@ fn bad_bmps() {
|
|||
fn bad_gif_oom() {
|
||||
let data = [
|
||||
71, 73, 70, 56, 55, 97, 0, 0, 0, 0, 0, 0, 0, 44, 255, 255, 219, 255, 172, 199, 199, 255,
|
||||
216, 255, 255, 0, 0, 48, 230, 0, 195, 195, 195, 195, 255, 239, 0,
|
||||
216, 255, 255, 0, 0, 48, 230, 2, 195, 195, 195, 195, 255, 239, 0,
|
||||
];
|
||||
|
||||
// The original code made a vec![0; very_large_number] which due to overcommit *does not* OOM.
|
||||
|
|
Loading…
Reference in a new issue