From cdadee3ad63b286e46dbbf21573fb42b5b47f3d5 Mon Sep 17 00:00:00 2001 From: Uy Ha Date: Thu, 8 Apr 2021 00:02:11 +0200 Subject: [PATCH] Add some tests --- corpus/no_argument.txt | 11 +++++++++++ corpus/one_argument.txt | 16 ++++++++++++++++ corpus/two_arguments.txt | 17 +++++++++++++++++ 3 files changed, 44 insertions(+) create mode 100644 corpus/no_argument.txt create mode 100644 corpus/one_argument.txt create mode 100644 corpus/two_arguments.txt diff --git a/corpus/no_argument.txt b/corpus/no_argument.txt new file mode 100644 index 0000000..d97b5ff --- /dev/null +++ b/corpus/no_argument.txt @@ -0,0 +1,11 @@ +=================================== +Command invocation without argument +=================================== + +message() + +--- + +(source_file + (command_invocation + (identifier))) \ No newline at end of file diff --git a/corpus/one_argument.txt b/corpus/one_argument.txt new file mode 100644 index 0000000..79034e8 --- /dev/null +++ b/corpus/one_argument.txt @@ -0,0 +1,16 @@ +==================================== +Command invocation with one argument +==================================== + +message(STATUS) + +--- + +(source_file + (command_invocation + (identifier) + (arguments + (argument) + ) + ) +) \ No newline at end of file diff --git a/corpus/two_arguments.txt b/corpus/two_arguments.txt new file mode 100644 index 0000000..1a2b7fa --- /dev/null +++ b/corpus/two_arguments.txt @@ -0,0 +1,17 @@ +===================================== +Command invocation with two arguments +===================================== + +message(STATUS Hello) + +--- + +(source_file + (command_invocation + (identifier) + (arguments + (argument) + (argument) + ) + ) +) \ No newline at end of file