committed by
Jakob Borg
parent
d8fa61e27c
commit
e714df013f
@@ -74,10 +74,6 @@ func TestUniqueStrings(t *testing.T) {
|
||||
nil,
|
||||
nil,
|
||||
},
|
||||
{
|
||||
[]string{"b", "a"},
|
||||
[]string{"a", "b"},
|
||||
},
|
||||
{
|
||||
[]string{" a ", " a ", "b ", " b"},
|
||||
[]string{"a", "b"},
|
||||
@@ -85,7 +81,7 @@ func TestUniqueStrings(t *testing.T) {
|
||||
}
|
||||
|
||||
for _, test := range tests {
|
||||
result := UniqueStrings(test.input)
|
||||
result := UniqueTrimmedStrings(test.input)
|
||||
if len(result) != len(test.expected) {
|
||||
t.Errorf("%s != %s", result, test.expected)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user