(expect *test.Expected)
| 102 | } |
| 103 | |
| 104 | func (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 | |
| 116 | func (nc *nerdCommand) Background() { |
| 117 | nc.prep() |
nothing calls this directly
no test coverage detected