(s string)
| 22 | ) |
| 23 | |
| 24 | func mustParseMAC(s string) networktypes.HardwareAddr { |
| 25 | mac, err := net.ParseMAC(s) |
| 26 | if err != nil { |
| 27 | panic(err) |
| 28 | } |
| 29 | return networktypes.HardwareAddr(mac) |
| 30 | } |
| 31 | |
| 32 | func TestValidateAttach(t *testing.T) { |
| 33 | valid := []string{ |
no outgoing calls
no test coverage detected
searching dependent graphs…