Skip to content

Commit

Permalink
chore: fix test warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed Oct 22, 2024
1 parent 2d26b10 commit f935ecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/extensions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ fn multi_dot_extension() {
#[test]
#[should_panic = "All extensions must start with a leading dot"]
fn without_leading_dot() {
Resolver::new(ResolveOptions {
let _ = Resolver::new(ResolveOptions {
extensions: vec!["ts".into(), "js".into()],
..ResolveOptions::default()
});
Expand Down

0 comments on commit f935ecd

Please sign in to comment.