(t *testing.T, args string)
| 75 | } |
| 76 | |
| 77 | func mustParse(t *testing.T, args string) (*container.Config, *container.HostConfig, *networktypes.NetworkingConfig) { |
| 78 | t.Helper() |
| 79 | config, hostConfig, nwConfig, err := parseRun(append(strings.Split(args, " "), "ubuntu", "bash")) |
| 80 | assert.NilError(t, err) |
| 81 | return config, hostConfig, nwConfig |
| 82 | } |
| 83 | |
| 84 | func TestParseRunLinks(t *testing.T) { |
| 85 | tests := []struct { |
no test coverage detected
searching dependent graphs…