mirror of
https://github.com/Serial-ATA/lofty-rs
synced 2025-03-04 23:07:20 +00:00
Fix test assertion
This commit is contained in:
parent
7f776c6b37
commit
d034782a27
1 changed files with 1 additions and 1 deletions
|
@ -292,6 +292,6 @@ mod tests {
|
||||||
let data: Vec<u8> = data.into_iter().flatten().cloned().collect();
|
let data: Vec<u8> = data.into_iter().flatten().cloned().collect();
|
||||||
let data = std::io::Cursor::new(&data);
|
let data = std::io::Cursor::new(&data);
|
||||||
let probe = Probe::new(data).guess_file_type().unwrap();
|
let probe = Probe::new(data).guess_file_type().unwrap();
|
||||||
matches!(probe.file_type(), Some(crate::FileType::MP3));
|
assert_eq!(probe.file_type(), Some(crate::FileType::MP3));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue