(t *testing.T)
| 89 | } |
| 90 | |
| 91 | func TestConvertExtraHosts(t *testing.T) { |
| 92 | source := composetypes.HostsList{ |
| 93 | "zulu:127.0.0.2", |
| 94 | "alpha:127.0.0.1", |
| 95 | "zulu:ff02::1", |
| 96 | } |
| 97 | assert.Check(t, is.DeepEqual([]string{"127.0.0.2 zulu", "127.0.0.1 alpha", "ff02::1 zulu"}, convertExtraHosts(source))) |
| 98 | } |
| 99 | |
| 100 | func TestConvertResourcesFull(t *testing.T) { |
| 101 | source := composetypes.Resources{ |
nothing calls this directly
no test coverage detected
searching dependent graphs…