mirror of
https://github.com/Serial-ATA/lofty-rs
synced 2024-12-14 06:32:33 +00:00
16 lines
430 B
Rust
16 lines
430 B
Rust
use crate::oom_test;
|
|
use lofty::config::ParseOptions;
|
|
use lofty::file::AudioFile;
|
|
use lofty::ogg::VorbisFile;
|
|
|
|
#[test]
|
|
fn oom1() {
|
|
oom_test::<VorbisFile>("vorbisfile_read_from/oom-436193bc2d1664b74c19720bef08697d03284f06");
|
|
}
|
|
|
|
#[test]
|
|
fn panic1() {
|
|
let mut reader =
|
|
crate::get_reader("vorbisfile_read_from/order01d_IDX_32_RAND_22064097693866277502540.ogg");
|
|
let _ = VorbisFile::read_from(&mut reader, ParseOptions::new());
|
|
}
|