Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add depcheck test that pkg/registry has light dependencies #1187

Merged
merged 3 commits into from
Nov 30, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
gofmt -s
  • Loading branch information
imjasonh committed Nov 30, 2021
commit 4f250127f1a3ae66bb4c30924e8b1e77db5bc152
2 changes: 1 addition & 1 deletion cmd/crane/depcheck_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (

func TestDeps(t *testing.T) {
depcheck.AssertNoDependency(t, map[string][]string{
"github.com/google/go-containerregistry/cmd/crane": []string{
"github.com/google/go-containerregistry/cmd/crane": {
"github.com/google/go-containerregistry/pkg/v1/daemon",
},
})
Expand Down
2 changes: 1 addition & 1 deletion cmd/gcrane/depcheck_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (

func TestDeps(t *testing.T) {
depcheck.AssertNoDependency(t, map[string][]string{
"github.com/google/go-containerregistry/cmd/gcrane": []string{
"github.com/google/go-containerregistry/cmd/gcrane": {
"github.com/google/go-containerregistry/pkg/v1/daemon",
},
})
Expand Down
1 change: 1 addition & 0 deletions pkg/v1/zz_deepcopy_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.