diff --git a/boa_tester/src/read.rs b/boa_tester/src/read.rs index b6f11cd87f..6c66333b05 100644 --- a/boa_tester/src/read.rs +++ b/boa_tester/src/read.rs @@ -104,7 +104,7 @@ pub(super) fn read_harness(test262_path: &Path) -> io::Result { /// Reads a test suite in the given path. pub(super) fn read_suite(path: &Path) -> io::Result { let name = path - .file_stem() + .file_name() .ok_or_else(|| { io::Error::new( io::ErrorKind::InvalidInput,