Tests for contains -i

This commit is contained in:
maxfl 2012-07-10 21:32:37 +08:00 committed by ridiculousfish
parent 0c03b6ddc7
commit 11dd904b6d
2 changed files with 14 additions and 0 deletions

View file

@ -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

View file

@ -5,3 +5,9 @@
1
1
test contains -i
4
nothing
4
nothing
4