mirror of https://github.com/docker/compose.git
Fix e2e tests on comparing with empty string
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
This commit is contained in:
parent
7fb976732f
commit
019268dded
|
@ -404,7 +404,7 @@ func TestContainerRunAttached(t *testing.T) {
|
|||
|
||||
assert.Assert(t, is.Len(containerInspect.Ports, 1))
|
||||
port := containerInspect.Ports[0]
|
||||
assert.Assert(t, len(port.HostIP) > 0)
|
||||
assert.Assert(t, port.HostIP != "")
|
||||
assert.Equal(t, port.ContainerPort, uint32(80))
|
||||
assert.Equal(t, port.HostPort, uint32(80))
|
||||
assert.Equal(t, containerInspect.Config.FQDN, fqdn)
|
||||
|
|
Loading…
Reference in New Issue