Fix test assertion

This commit is contained in:
Alex 2022-01-22 11:01:27 -05:00 committed by GitHub
parent 7f776c6b37
commit d034782a27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -292,6 +292,6 @@ mod tests {
let data: Vec<u8> = data.into_iter().flatten().cloned().collect();
let data = std::io::Cursor::new(&data);
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));
}
}