Skip to content

Commit 5370aec

Browse files
committed
remove unused normalizePaths func
1 parent b5788ef commit 5370aec

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

scan_test.go

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import (
44
"os"
55
"path/filepath"
66
"regexp"
7-
"sort"
87
"testing"
98
)
109

@@ -223,13 +222,3 @@ func TestScanDir(t *testing.T) {
223222
})
224223
}
225224
}
226-
227-
// Utility function to normalize paths for consistent comparison across platforms
228-
func normalizePaths(paths []string) []string {
229-
normalized := make([]string, len(paths))
230-
for i, path := range paths {
231-
normalized[i] = filepath.ToSlash(path)
232-
}
233-
sort.Strings(normalized)
234-
return normalized
235-
}

0 commit comments

Comments
 (0)