Skip to content
Snippets Groups Projects
  • Mike Pennisi's avatar
    baa5d94b
    Refactor object initializer tests for parsers · baa5d94b
    Mike Pennisi authored
    A number of tests for the parsing of object initializers were expressed
    using `eval`. This made the tests more complex than necessary and also
    prevented the tests from providing value to ECMAScript parsers.
    
    Remove the use of `eval` in the relevant tests and instead express the
    expectations with literal source text.
    baa5d94b
    History
    Refactor object initializer tests for parsers
    Mike Pennisi authored
    A number of tests for the parsing of object initializers were expressed
    using `eval`. This made the tests more complex than necessary and also
    prevented the tests from providing value to ECMAScript parsers.
    
    Remove the use of `eval` in the relevant tests and instead express the
    expectations with literal source text.