diff --git a/tests/test7.in b/tests/test7.in index 1ad65648d..c2dece300 100644 --- a/tests/test7.in +++ b/tests/test7.in @@ -28,3 +28,11 @@ true case one echo $status end + +#test contains -i +echo test contains -i +contains -i string a b c string d +contains -i string a b c d; or echo nothing +contains -i -- string a b c string d +contains -i -- -- a b c; or echo nothing +contains -i -- -- a b c -- v diff --git a/tests/test7.out b/tests/test7.out index c298309df..3d0164d00 100644 --- a/tests/test7.out +++ b/tests/test7.out @@ -5,3 +5,9 @@ 1 1 +test contains -i +4 +nothing +4 +nothing +4