diff options
author | maxfl <gmaxfl@gmail.com> | 2012-07-10 21:32:37 +0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-07-10 16:21:00 -0700 |
commit | 11dd904b6db661a2ff5c3cfc5b394ebaececd4f5 (patch) | |
tree | aa77931d067795422aed17489e0ece815d5383f4 /tests | |
parent | 0c03b6ddc7555deddeb208d8b15300edffd9ef0f (diff) |
Tests for contains -i
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test7.in | 8 | ||||
-rw-r--r-- | tests/test7.out | 6 |
2 files changed, 14 insertions, 0 deletions
diff --git a/tests/test7.in b/tests/test7.in index 1ad65648..c2dece30 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 c298309d..3d0164d0 100644 --- a/tests/test7.out +++ b/tests/test7.out @@ -5,3 +5,9 @@ 1 1 +test contains -i +4 +nothing +4 +nothing +4 |