mirror of
https://github.com/spf13/cobra
synced 2025-04-27 17:17:20 +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,
|
expected: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "String not in slice (case-insensitive)",
|
name: "String in slice (case-insensitive)",
|
||||||
a: "PEAR",
|
a: "APPLE",
|
||||||
list: []string{"orange", "banana", "apple", "grape"},
|
list: []string{"orange", "banana", "apple", "grape"},
|
||||||
expected: false,
|
expected: false,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue