Skip to content

Commit

Permalink
Bump Test262 and add new features
Browse files Browse the repository at this point in the history
  • Loading branch information
jedel1043 committed Mar 23, 2023
1 parent e465743 commit bbb6608
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions boa_tester/src/edition.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ static FEATURE_EDITION: phf::Map<&'static str, SpecEdition> = phf::phf_map! {
"Array.prototype.at" => SpecEdition::ES13,
"Array.prototype.flat" => SpecEdition::ES10,
"Array.prototype.flatMap" => SpecEdition::ES10,
"Array.prototype.includes" => SpecEdition::ES7,
"Array.prototype.values" => SpecEdition::ES6,
"arrow-function" => SpecEdition::ES6,
"async-iteration" => SpecEdition::ES9,
Expand Down Expand Up @@ -156,6 +157,7 @@ static FEATURE_EDITION: phf::Map<&'static str, SpecEdition> = phf::phf_map! {
"destructuring-binding" => SpecEdition::ES6,
"dynamic-import" => SpecEdition::ES11,
"error-cause" => SpecEdition::ES13,
"exponentiation" => SpecEdition::ES7,
"export-star-as-namespace-from-module" => SpecEdition::ES11,
"FinalizationRegistry" => SpecEdition::ES12,
"for-in-order" => SpecEdition::ES11,
Expand Down
2 changes: 1 addition & 1 deletion boa_tester/src/read.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ pub(super) fn read_test(path: &Path) -> Result<Test> {

let metadata = read_metadata(path)?;

Test::new(name, path, metadata).wrap_err("failed to read test")
Test::new(name, path, metadata)
}

/// Reads the metadata from the input test code.
Expand Down
2 changes: 1 addition & 1 deletion test262
Submodule test262 updated 173 files

0 comments on commit bbb6608

Please sign in to comment.