diff options
Diffstat (limited to 'distribution/manifest_test.go')
-rw-r--r-- | distribution/manifest_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/distribution/manifest_test.go b/distribution/manifest_test.go index 2edaa762aa..52b7c3e676 100644 --- a/distribution/manifest_test.go +++ b/distribution/manifest_test.go @@ -126,7 +126,7 @@ func TestManifestStore(t *testing.T) { dgst := digest.Canonical.FromBytes(serialized) setupTest := func(t *testing.T) (specs.Descriptor, *mockManifestGetter, *manifestStore, content.Store, func(*testing.T)) { - root, err := os.MkdirTemp("", strings.Replace(t.Name(), "/", "_", -1)) + root, err := os.MkdirTemp("", strings.ReplaceAll(t.Name(), "/", "_")) assert.NilError(t, err) defer func() { if t.Failed() { |