mirror of
https://github.com/spf13/cobra
synced 2025-04-27 09:07:19 +00:00
changed the TestStringInSlice
This commit is contained in:
parent
eb22f6c157
commit
8623dcfff8
1 changed files with 2 additions and 2 deletions
|
@ -133,8 +133,8 @@ func TestStringInSlice(t *testing.T) {
|
|||
expected: false,
|
||||
},
|
||||
{
|
||||
name: "String not in slice (case-insensitive)",
|
||||
a: "PEAR",
|
||||
name: "String in slice (case-insensitive)",
|
||||
a: "APPLE",
|
||||
list: []string{"orange", "banana", "apple", "grape"},
|
||||
expected: false,
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue