Browse Source

Fix test suite name when it contains a dot (#985)

Co-authored-by: tofpie <tofpie@users.noreply.github.com>
pull/1023/head
tofpie 4 years ago committed by GitHub
parent
commit
4fb319dec6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      boa_tester/src/read.rs

2
boa_tester/src/read.rs

@ -104,7 +104,7 @@ pub(super) fn read_harness(test262_path: &Path) -> io::Result<Harness> {
/// Reads a test suite in the given path.
pub(super) fn read_suite(path: &Path) -> io::Result<TestSuite> {
let name = path
.file_stem()
.file_name()
.ok_or_else(|| {
io::Error::new(
io::ErrorKind::InvalidInput,

Loading…
Cancel
Save