Add test for multiple modules
This commit is contained in:
parent
acd1a926ab
commit
384da2d065
|
@ -107,6 +107,40 @@ foo {
|
|||
(identifier)
|
||||
(interpreted_string_literal)))))))
|
||||
|
||||
================================================================================
|
||||
Multiple modules
|
||||
================================================================================
|
||||
|
||||
foo {
|
||||
answer: 42,
|
||||
value: "test",
|
||||
}
|
||||
|
||||
bar {
|
||||
baz: "qux",
|
||||
done: true,
|
||||
}
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
(source_file
|
||||
(module
|
||||
(identifier)
|
||||
(property
|
||||
(identifier)
|
||||
(integer_literal))
|
||||
(property
|
||||
(identifier)
|
||||
(interpreted_string_literal)))
|
||||
(module
|
||||
(identifier)
|
||||
(property
|
||||
(identifier)
|
||||
(interpreted_string_literal))
|
||||
(property
|
||||
(identifier)
|
||||
(boolean_literal))))
|
||||
|
||||
================================================================================
|
||||
Rogue comma
|
||||
================================================================================
|
||||
|
|
Loading…
Reference in a new issue