Fix e2e tests on comparing with empty string

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
This commit is contained in:
Ulysses Souza 2020-10-09 09:39:00 +02:00 committed by Guillaume Tardif
parent 7fb976732f
commit 019268dded
1 changed files with 1 additions and 1 deletions

View File

@ -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)