MCPcopy Create free account
hub / github.com/containerd/nerdctl / Run

Method Run

pkg/testutil/nerdtest/command.go:104–114  ·  view source on GitHub ↗
(expect *test.Expected)

Source from the content-addressed store, hash-verified

102}
103
104func (nc *nerdCommand) Run(expect *test.Expected) {
105 nc.T().Helper()
106 nc.prep()
107 if !isTargetNerdish() {
108 // We are not in the business of testing docker *error* output, so, spay expectation here
109 if expect != nil {
110 expect.Errors = nil
111 }
112 }
113 nc.GenericCommand.Run(expect)
114}
115
116func (nc *nerdCommand) Background() {
117 nc.prep()

Callers

nothing calls this directly

Calls 5

prepMethod · 0.95
isTargetNerdishFunction · 0.85
HelperMethod · 0.65
TMethod · 0.65
RunMethod · 0.65

Tested by

no test coverage detected