mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 05:28:49 +00:00
Tests for contains -i
This commit is contained in:
parent
0c03b6ddc7
commit
11dd904b6d
2 changed files with 14 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -5,3 +5,9 @@
|
|||
|
||||
1
|
||||
1
|
||||
test contains -i
|
||||
4
|
||||
nothing
|
||||
4
|
||||
nothing
|
||||
4
|
||||
|
|
Loading…
Reference in a new issue