func TestSymlinkTraversal(t *testing.T) { … } // TestSkip tests that various goimports rules are followed in non-modules mode. func TestSkip(t *testing.T) { … } // TestSkipFunction tests that scan successfully skips directories from user callback. func TestSkipFunction(t *testing.T) { … } // TestWalkSymlinkConcurrentDeletion is a regression test for the panic reported // in https://go.dev/issue/58054#issuecomment-1791513726. func TestWalkSymlinkConcurrentDeletion(t *testing.T) { … } func mapToDir(destDir string, files map[string]string) error { … }