1
0
Fork 0
mirror of https://github.com/spf13/cobra synced 2025-05-07 05:47:26 +00:00

changed the TestStringInSlice

This commit is contained in:
Denis Korovin 2023-12-30 16:11:48 +03:00
parent eb22f6c157
commit 8623dcfff8

View file

@ -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,
},