Update TestLinkEnv for default port

This commit is contained in:
Michael Crosby
2013-10-25 15:13:25 -07:00
committed by Victor Vieux
parent da864a845b
commit e179a24ad5
+2 -2
View File
@@ -89,8 +89,8 @@ func TestLinkEnv(t *testing.T) {
}
env[parts[0]] = parts[1]
}
if env["DOCKER_PORT"] != "tcp://172.0.17.2:6379" {
t.Fatalf("Expected tcp://172.0.17.2:6379, got %s", env["DOCKER_PORT"])
if env["DOCKER_PORT"] != "172.0.17.2:6379" {
t.Fatalf("Expected 172.0.17.2:6379, got %s", env["DOCKER_PORT"])
}
if env["DOCKER_PORT_6379_TCP"] != "tcp://172.0.17.2:6379" {
t.Fatalf("Expected tcp://172.0.17.2:6379, got %s", env["DOCKER_PORT_6379_TCP"])