Skip to content
Snippets Groups Projects
  1. Apr 13, 2017
  2. Mar 28, 2017
  3. Mar 16, 2017
  4. Mar 06, 2017
  5. Oct 19, 2016
    • Mike Pennisi's avatar
      Re-format tests for SyntaxErrors · 7d4b1d28
      Mike Pennisi authored
      Authored via the following command:
      
         $ find test -type f -print0 | \
             xargs -0 sed \
               -i 's/^\(\s*\)negative:\s*SyntaxError\s*$/\1negative:\n\1  phase: early\n\1  type: SyntaxError/g'
      7d4b1d28
    • Mike Pennisi's avatar
      Reformat miscellaneous negative tests · 0c29e6de
      Mike Pennisi authored
      The expected errors in these tests cannot be asserted with the
      `assert.throws` helper function for various reasons. Re-format their
      meta-data according to the latest design in order to more precisely
      describe test expectations.
      0c29e6de
  6. Aug 02, 2016
  7. Jul 11, 2016
    • jugglinmike's avatar
      Annex b skip fib (#704) · a41b7111
      jugglinmike authored
      * Re-generate tests
      
      The test generation tool has been modified in the time since these tests
      were first generated and committed to the project. Re-generate the tests
      using the latest version of the tool.
      
      * Add test cases for Annex B hoisting disqualifiers
      
      The "variable-like" function hoisting semantics defined in Annex B
      extension B.3.3 is only applied if "[...] replacing the
      FunctionDeclaration f with a VariableStatement that has F as a
      BindingIdentifier would not produce any Early Errors [...]". Test262
      previously included tests for this condition when the disqualifying
      early error originated from the ScriptBody and FunctionBody productions.
      
      Add test cases to assert the behavior when it is disqualified by all
      other relevant early errors: Block statements, `for` statements,
      `for-of` statements, `for-in` statements, and Switch statements.
      
      * Generate tests
      
      * fixup! Add test cases for Annex B hoisting disqualifiers
      
      * fixup! Add test cases for Annex B hoisting disqualifiers
      
      Correct test case "info" meta-data.
      
      * fixup! Add test cases for Annex B hoisting disqualifiers
      
      Improve test bodies
      
      * fixup! Generate tests
      a41b7111
  8. Jun 28, 2016
  9. May 19, 2016
  10. May 10, 2016
  11. May 09, 2016
  12. May 06, 2016
    • jugglinmike's avatar
      Add tests for Annex B extns to string literals (#610) · aebf3d63
      jugglinmike authored
      This change set does not include a test for restrictions relating to
      template literals because such a test already exists in the project.
      
      While a form of this test for string literals in strict mode code
      existed previously, it is less precise and relies on unrelated
      semantics. Remove the previous form and replace with a more direct
      version.
      aebf3d63
  13. Apr 21, 2016
  14. Apr 18, 2016
  15. Feb 10, 2016
    • Mike Pennisi's avatar
      Reorganize tests for Annex B extensions · fbce4ea1
      Mike Pennisi authored
      The "mainline" tests in Test262 are converging on a more formal
      structure. Files are organized as tests for either either "language"
      (e.g. syntax-driven) or "built-in" (e.g. API-driven). "Language" test
      locations are themselves structured according to whether the syntactic
      form under test is an Expression or a Statement.
      
      To limit ambiguity when locating/adding tests, re-organize the tests for
      Annex B extensions to match this structure.
      fbce4ea1
Loading