Skip to content
Snippets Groups Projects
  • Mike Pennisi's avatar
    1d96e257
    Refactor function literal tests for parsers · 1d96e257
    Mike Pennisi authored
    A number of tests for the parsing of function literals 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.
    1d96e257
    History
    Refactor function literal tests for parsers
    Mike Pennisi authored
    A number of tests for the parsing of function literals 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.