From 4fb319dec6aca13941ab58d90aa0c723b87fec27 Mon Sep 17 00:00:00 2001 From: tofpie <75836434+tofpie@users.noreply.github.com> Date: Fri, 1 Jan 2021 15:11:34 +0100 Subject: [PATCH] Fix test suite name when it contains a dot (#985) Co-authored-by: tofpie --- boa_tester/src/read.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,