Add options for nocasematch

This commit is contained in:
Nathaniel Landau
2021-10-22 11:05:57 -04:00
parent 7483dbc9f4
commit 4c99e7fe6c
6 changed files with 100 additions and 14 deletions

View File

@@ -91,7 +91,12 @@ teardown() {
}
@test "_inArray_: success" {
run _inArray_ one "${A[@]}"
run _inArray_ "one" "${A[@]}"
assert_success
}
@test "_inArray_: success and ignore case" {
run _inArray_ -i "ONE" "${A[@]}"
assert_success
}