From a4b8b9c643f0c33f494a27b1d502d1c8f6861798 Mon Sep 17 00:00:00 2001 From: Uy Ha Date: Fri, 4 Jun 2021 16:16:51 +0200 Subject: [PATCH] Add test case for endforeach with argument --- corpus/foreach.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/corpus/foreach.txt b/corpus/foreach.txt index 94ef354..626197f 100644 --- a/corpus/foreach.txt +++ b/corpus/foreach.txt @@ -16,6 +16,25 @@ endforeach() ) ) +================================= +No items with endforeach argument +================================= + +foreach(var) +endforeach(var) + +--- +(source_file + (command_invocation + (foreach_loop + (foreach_items + loop_var: (variable) + ) + (variable) + ) + ) + ) + ======== One item ========