diff --git a/test/corpus/modules.txt b/test/corpus/modules.txt index 73d87bc..1eb7e9a 100644 --- a/test/corpus/modules.txt +++ b/test/corpus/modules.txt @@ -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 ================================================================================