diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-06-19 21:45:13 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2020-06-20 11:27:05 +0300 |
commit | 2931b2365c2f00562d0d06ad6e83b74a6618f334 (patch) | |
tree | d76adaabeebf1c0d1a6ab86695ace69d66aaf942 /libbuild2/test/script/parser+command-if.test.testscript | |
parent | 2756e66940d140b7e378ea5a38354243d74ffe80 (diff) |
Fix assertion failure for unbound 'end' in testscript
Issue #83.
Diffstat (limited to 'libbuild2/test/script/parser+command-if.test.testscript')
-rw-r--r-- | libbuild2/test/script/parser+command-if.test.testscript | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libbuild2/test/script/parser+command-if.test.testscript b/libbuild2/test/script/parser+command-if.test.testscript index bfca9e8..0b72b4a 100644 --- a/libbuild2/test/script/parser+command-if.test.testscript +++ b/libbuild2/test/script/parser+command-if.test.testscript @@ -325,6 +325,15 @@ testscript:2:1: error: 'end' without preceding 'if' EOE + : without-if-semi + : + $* <<EOI 2>>EOE != 0 + cmd; + end + EOI + testscript:2:1: error: 'end' without preceding 'if' + EOE + : before { : semi |