Skip to content

Commit

Permalink
dependabot-1 Fixed test file names (again); underscores replaced
Browse files Browse the repository at this point in the history
  • Loading branch information
bdebyl committed Jul 15, 2022
1 parent 12a3977 commit 81ab7f1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions internal/plugin/plugin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,43 +80,43 @@ func TestPlugin(t *testing.T) {
success bool
}{
{
name: "existing_mount",
name: "existing-mount",
mount: func(name string) []string {
return exampleFileTree(t, name, make([]byte, 1*1024))
},
success: true,
},
{
name: "non-existing_mount",
name: "non-existing-mount",
mount: func(_ string) []string {
return []string{"idonotexist"}
},
success: false,
},
{
name: "empty_mount",
name: "empty-mount",
mount: func(name string) []string {
return []string{exampleDir(t, name)}
},
success: true,
},
{
name: "existing_mount_with_nested_files",
name: "existing-mount-with-nested-files",
mount: func(name string) []string {
return exampleNestedFileTree(t, name, make([]byte, 1*1024))
},
success: true,
},
{
name: "existing_mount_with_cache_key",
name: "existing-mount-with-cache-key",
mount: func(name string) []string {
return exampleFileTree(t, name, make([]byte, 1*1024))
},
cacheKey: "{{ .Repo.Name }}_{{ .Commit.Branch }}_{{ .Build.Number }}",
success: true,
},
{
name: "existing_mount_with_symlink",
name: "existing-mount-with-symlink",
mount: func(name string) []string {
return exampleFileTreeWithSymlinks(t, name, make([]byte, 1*1024))
},
Expand Down

0 comments on commit 81ab7f1

Please sign in to comment.