Add test for multiple modules

This commit is contained in:
Bruno BELANYI 2024-04-08 20:27:53 +01:00
parent acd1a926ab
commit 384da2d065

View file

@ -107,6 +107,40 @@ foo {
(identifier) (identifier)
(interpreted_string_literal))))))) (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 Rogue comma
================================================================================ ================================================================================