Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret committed Apr 1, 2024
1 parent 55ed743 commit 25fcd94
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -727,6 +727,7 @@ mod tests {
assert_eq!(MediaType::Unknown.to_string(), "Unknown");
}

#[cfg(feature = "module_specifier")]
#[test]
fn test_url_path_like_file_stem() {
let url = ModuleSpecifier::parse("file:///.test").unwrap();
Expand All @@ -737,6 +738,7 @@ mod tests {
assert_eq!((&url).file_stem(), None);
}

#[cfg(feature = "module_specifier")]
#[test]
fn test_url_path_like_extension() {
let url = ModuleSpecifier::parse("file:///.test").unwrap();
Expand Down

0 comments on commit 25fcd94

Please sign in to comment.