Skip to content
This repository was archived by the owner on Feb 11, 2025. It is now read-only.

Commit 81ab7f1

Browse files
committed
dependabot-1 Fixed test file names (again); underscores replaced
1 parent 12a3977 commit 81ab7f1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

internal/plugin/plugin_test.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,43 +80,43 @@ func TestPlugin(t *testing.T) {
8080
success bool
8181
}{
8282
{
83-
name: "existing_mount",
83+
name: "existing-mount",
8484
mount: func(name string) []string {
8585
return exampleFileTree(t, name, make([]byte, 1*1024))
8686
},
8787
success: true,
8888
},
8989
{
90-
name: "non-existing_mount",
90+
name: "non-existing-mount",
9191
mount: func(_ string) []string {
9292
return []string{"idonotexist"}
9393
},
9494
success: false,
9595
},
9696
{
97-
name: "empty_mount",
97+
name: "empty-mount",
9898
mount: func(name string) []string {
9999
return []string{exampleDir(t, name)}
100100
},
101101
success: true,
102102
},
103103
{
104-
name: "existing_mount_with_nested_files",
104+
name: "existing-mount-with-nested-files",
105105
mount: func(name string) []string {
106106
return exampleNestedFileTree(t, name, make([]byte, 1*1024))
107107
},
108108
success: true,
109109
},
110110
{
111-
name: "existing_mount_with_cache_key",
111+
name: "existing-mount-with-cache-key",
112112
mount: func(name string) []string {
113113
return exampleFileTree(t, name, make([]byte, 1*1024))
114114
},
115115
cacheKey: "{{ .Repo.Name }}_{{ .Commit.Branch }}_{{ .Build.Number }}",
116116
success: true,
117117
},
118118
{
119-
name: "existing_mount_with_symlink",
119+
name: "existing-mount-with-symlink",
120120
mount: func(name string) []string {
121121
return exampleFileTreeWithSymlinks(t, name, make([]byte, 1*1024))
122122
},

0 commit comments

Comments
 (0)