mirror of
https://github.com/natelandau/shell-scripting-templates.git
synced 2025-11-11 06:23:47 -05:00
Add options for nocasematch
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user