Remove uninteresting corpus entries
This commit is contained in:
parent
66460b24fd
commit
c9db5499e9
6 changed files with 11 additions and 155 deletions
29
spec/fixtures/corpus/javascript/literals.txt
vendored
29
spec/fixtures/corpus/javascript/literals.txt
vendored
|
|
@ -1,36 +1,17 @@
|
|||
==========================================
|
||||
regexes
|
||||
primitives
|
||||
==========================================
|
||||
|
||||
theFunction(/regex1/, /regex2/g);
|
||||
|
||||
---
|
||||
|
||||
(program (expression_statement
|
||||
(function_call (identifier) (arguments (regex) (regex)))))
|
||||
|
||||
==========================================
|
||||
numbers
|
||||
==========================================
|
||||
|
||||
theFunction(100.0, 200);
|
||||
|
||||
---
|
||||
|
||||
(program (expression_statement
|
||||
(function_call (identifier) (arguments (number) (number)))))
|
||||
|
||||
==========================================
|
||||
strings
|
||||
==========================================
|
||||
|
||||
theFunction('', "", 'single-quoted-string', "double-quoted-string");
|
||||
|
||||
---
|
||||
|
||||
(program (expression_statement
|
||||
(function_call (identifier)
|
||||
(arguments (string) (string) (string) (string)))))
|
||||
(program
|
||||
(expression_statement (function_call (identifier) (arguments (regex) (regex))))
|
||||
(expression_statement (function_call (identifier) (arguments (number) (number))))
|
||||
(expression_statement (function_call (identifier) (arguments (string) (string) (string) (string)))))
|
||||
|
||||
==========================================
|
||||
function expressions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue