Add some tests

This commit is contained in:
Uy Ha 2021-04-08 00:02:11 +02:00
parent a2efc82ccd
commit cdadee3ad6
3 changed files with 44 additions and 0 deletions

11
corpus/no_argument.txt Normal file
View file

@ -0,0 +1,11 @@
===================================
Command invocation without argument
===================================
message()
---
(source_file
(command_invocation
(identifier)))

16
corpus/one_argument.txt Normal file
View file

@ -0,0 +1,16 @@
====================================
Command invocation with one argument
====================================
message(STATUS)
---
(source_file
(command_invocation
(identifier)
(arguments
(argument)
)
)
)

17
corpus/two_arguments.txt Normal file
View file

@ -0,0 +1,17 @@
=====================================
Command invocation with two arguments
=====================================
message(STATUS Hello)
---
(source_file
(command_invocation
(identifier)
(arguments
(argument)
(argument)
)
)
)