...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 package registry
16
17 import (
18 "testing"
19
20 "github.com/google/go-containerregistry/internal/depcheck"
21 )
22
23 func TestDeps(t *testing.T) {
24 if testing.Short() {
25 t.Skip("skipping slow depcheck")
26 }
27 depcheck.AssertOnlyDependencies(t, map[string][]string{
28 "github.com/google/go-containerregistry/pkg/registry": append(
29 depcheck.StdlibPackages(),
30 "github.com/google/go-containerregistry/internal/httptest",
31 "github.com/google/go-containerregistry/pkg/v1",
32 "github.com/google/go-containerregistry/pkg/v1/types",
33
34 "github.com/google/go-containerregistry/internal/verify",
35 "github.com/google/go-containerregistry/internal/and",
36 ),
37 })
38 }
39
View as plain text