@@ -13,6 +13,7 @@ import (
1313)
1414
1515func TestFindFilesRecursively (t * testing.T ) {
16+ t .Parallel ()
1617 // Create temporary test directory structure
1718 tmpDir := t .TempDir ()
1819
@@ -80,6 +81,7 @@ func TestFindFilesRecursively(t *testing.T) {
8081
8182 for _ , tt := range tests {
8283 t .Run (tt .name , func (t * testing.T ) {
84+ t .Parallel ()
8385 ctx := context .Background ()
8486 got , err := findFilesRecursively (ctx , tt .rootPath )
8587
@@ -104,6 +106,7 @@ func TestFindFilesRecursively(t *testing.T) {
104106}
105107
106108func TestFindFilesRecursivelySymlinks (t * testing.T ) {
109+ t .Parallel ()
107110 tmpDir := t .TempDir ()
108111
109112 // Create a file
@@ -131,6 +134,7 @@ func TestFindFilesRecursivelySymlinks(t *testing.T) {
131134}
132135
133136func TestFindFilesRecursivelySymlinkRoot (t * testing.T ) {
137+ t .Parallel ()
134138 tmpDir := t .TempDir ()
135139
136140 // Create a directory with a file
@@ -163,6 +167,7 @@ func TestFindFilesRecursivelySymlinkRoot(t *testing.T) {
163167}
164168
165169func TestFindFilesRecursivelyCanceledContext (t * testing.T ) {
170+ t .Parallel ()
166171 tmpDir := t .TempDir ()
167172
168173 // Create a file
@@ -181,6 +186,7 @@ func TestFindFilesRecursivelyCanceledContext(t *testing.T) {
181186}
182187
183188func TestFindFilesRecursivelyPermissionDenied (t * testing.T ) {
189+ t .Parallel ()
184190 if os .Getuid () == 0 {
185191 t .Skip ("Skipping permission test when running as root" )
186192 }
@@ -232,6 +238,7 @@ func TestFindFilesRecursivelyPermissionDenied(t *testing.T) {
232238}
233239
234240func TestFindFilesRecursivelyEmptyDirectory (t * testing.T ) {
241+ t .Parallel ()
235242 tmpDir := t .TempDir ()
236243
237244 ctx := context .Background ()
@@ -246,6 +253,7 @@ func TestFindFilesRecursivelyEmptyDirectory(t *testing.T) {
246253}
247254
248255func TestFindFilesRecursivelyDeepNesting (t * testing.T ) {
256+ t .Parallel ()
249257 tmpDir := t .TempDir ()
250258
251259 // Create deeply nested structure
@@ -275,6 +283,7 @@ func TestFindFilesRecursivelyDeepNesting(t *testing.T) {
275283}
276284
277285func TestCleanPath (t * testing.T ) {
286+ t .Parallel ()
278287 tests := []struct {
279288 name string
280289 path string
@@ -321,6 +330,7 @@ func TestCleanPath(t *testing.T) {
321330
322331 for _ , tt := range tests {
323332 t .Run (tt .name , func (t * testing.T ) {
333+ t .Parallel ()
324334 got := CleanPath (tt .path , tt .prefix )
325335 if got != tt .want {
326336 t .Errorf ("CleanPath(%q, %q) = %q, want %q" , tt .path , tt .prefix , got , tt .want )
@@ -330,6 +340,7 @@ func TestCleanPath(t *testing.T) {
330340}
331341
332342func TestFormatPath (t * testing.T ) {
343+ t .Parallel ()
333344 tests := []struct {
334345 name string
335346 path string
@@ -364,6 +375,7 @@ func TestFormatPath(t *testing.T) {
364375
365376 for _ , tt := range tests {
366377 t .Run (tt .name , func (t * testing.T ) {
378+ t .Parallel ()
367379 got := formatPath (tt .path )
368380 if got != tt .want {
369381 t .Errorf ("formatPath(%q) = %q, want %q" , tt .path , got , tt .want )
0 commit comments