mirror of
https://github.com/chmln/handlr.git
synced 2024-11-14 21:49:27 +01:00
rm flaky test
This commit is contained in:
parent
37dae85b18
commit
7ac4917ddd
1 changed files with 0 additions and 9 deletions
|
@ -126,15 +126,6 @@ mod tests {
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
|
||||||
fn filename_priority() -> Result<()> {
|
|
||||||
assert_eq!(
|
|
||||||
MimeType::try_from("./tests/p.html")?.0,
|
|
||||||
"application/x-extension-html"
|
|
||||||
);
|
|
||||||
Ok(())
|
|
||||||
}
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn from_ext() -> Result<()> {
|
fn from_ext() -> Result<()> {
|
||||||
assert_eq!(".mp3".parse::<MimeOrExtension>()?.0, "audio/mpeg");
|
assert_eq!(".mp3".parse::<MimeOrExtension>()?.0, "audio/mpeg");
|
||||||
|
|
Loading…
Reference in a new issue