Fix spellcheck and enable more dirs (#3603)

This commit is contained in:
qwerty287
2024-04-09 09:04:53 +02:00
committed by GitHub
parent 8e45ddd58b
commit c9a3bfb321
10 changed files with 26 additions and 17 deletions

View File

@@ -21,7 +21,7 @@ import (
"github.com/stretchr/testify/assert"
)
func TestDedupStrings(t *testing.T) {
func TestDeduplicateStrings(t *testing.T) {
tests := []struct {
in []string
out []string
@@ -37,7 +37,7 @@ func TestDedupStrings(t *testing.T) {
}}
for _, tc := range tests {
result := DedupStrings(tc.in)
result := DeduplicateStrings(tc.in)
sort.Strings(result)
if len(tc.out) == 0 {
assert.Len(t, result, 0)