aboutsummaryrefslogtreecommitdiffstats
path: root/test-cases/case2_positive_lookahead/script.sh
diff options
context:
space:
mode:
authorJonas Maier <jonas@x77.dev>2026-06-02 23:25:54 +0200
committerJonas Maier <jonas@x77.dev>2026-06-02 23:25:54 +0200
commit7f29a8a4ebca1e9bd7172af72e780f6d75f5a972 (patch)
tree52659b36482bc306bbd861640d11ca5973b7a704 /test-cases/case2_positive_lookahead/script.sh
parentbf39e526f8d8469f916115c992eda5318573a093 (diff)
downloadpish-7f29a8a4ebca1e9bd7172af72e780f6d75f5a972.tar.gz
fix test cases
Diffstat (limited to 'test-cases/case2_positive_lookahead/script.sh')
-rw-r--r--test-cases/case2_positive_lookahead/script.sh12
1 files changed, 10 insertions, 2 deletions
diff --git a/test-cases/case2_positive_lookahead/script.sh b/test-cases/case2_positive_lookahead/script.sh
index e24cbcb..29c086e 100644
--- a/test-cases/case2_positive_lookahead/script.sh
+++ b/test-cases/case2_positive_lookahead/script.sh
@@ -1,3 +1,5 @@
+echo begin
+
case foo {
f(?=o)oo {}
.* { echo fail 1 }
@@ -24,6 +26,7 @@ fun x0 {
match x0 aa no
match x0 aaa no
match x0 ab yes
+echo x0
fun x1 {
case $1 {
@@ -36,6 +39,7 @@ match x1 xfoobar_some_more_stuff yes
match x1 x___bar no
match x1 xfoo___ no
match x1 xfoo no
+echo x1
fun x2 {
case $1 {
@@ -47,8 +51,9 @@ match x2 foobar yes
match x2 foobarbaz yes
match x2 barfoo no
match x2 foobaz no
-match x3 foo_stuff_bar yes
-match x3 foo_stuff_bar_more_stuff yes
+match x2 foo_stuff_bar yes
+match x2 foo_stuff_bar_more_stuff yes
+echo x2
fun x3 {
case $1 {
@@ -60,3 +65,6 @@ match x3 abc_cde yes
match x3 abcde yes
match x3 abcdef yes
match x3 abde no
+echo x3
+
+echo done