mirror of
https://github.com/docker/compose.git
synced 2026-08-27 03:45:29 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue