mirror of
https://github.com/servo/servo.git
synced 2025-08-18 03:45:33 +01:00
fixup! Issue #7382 Use descriptive enums instead of booleans for MIMEClassifier::classifer
This commit is contained in:
parent
5c807311de
commit
ff608de781
2 changed files with 23 additions and 8 deletions
|
@ -529,3 +529,13 @@ fn test_sniff_octet_stream_apache_flag_on() {
|
|||
ApacheBugFlag::ON);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_sniff_mp4_video_apache_flag_on() {
|
||||
test_sniff_with_flags(&PathBuf::from("video/mp4/test.mp4"),
|
||||
"video",
|
||||
"mp4",
|
||||
None,
|
||||
NoSniffFlag::OFF,
|
||||
ApacheBugFlag::ON);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue