Add some tests
This commit is contained in:
parent
a2efc82ccd
commit
cdadee3ad6
11
corpus/no_argument.txt
Normal file
11
corpus/no_argument.txt
Normal file
|
@ -0,0 +1,11 @@
|
|||
===================================
|
||||
Command invocation without argument
|
||||
===================================
|
||||
|
||||
message()
|
||||
|
||||
---
|
||||
|
||||
(source_file
|
||||
(command_invocation
|
||||
(identifier)))
|
16
corpus/one_argument.txt
Normal file
16
corpus/one_argument.txt
Normal 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
17
corpus/two_arguments.txt
Normal file
|
@ -0,0 +1,17 @@
|
|||
=====================================
|
||||
Command invocation with two arguments
|
||||
=====================================
|
||||
|
||||
message(STATUS Hello)
|
||||
|
||||
---
|
||||
|
||||
(source_file
|
||||
(command_invocation
|
||||
(identifier)
|
||||
(arguments
|
||||
(argument)
|
||||
(argument)
|
||||
)
|
||||
)
|
||||
)
|
Loading…
Reference in a new issue