diff --git a/src/tests/extensions.rs b/src/tests/extensions.rs index 2067e2c..e636c5b 100644 --- a/src/tests/extensions.rs +++ b/src/tests/extensions.rs @@ -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() });