Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
moncho committed Jan 30, 2018
1 parent d2c05a1 commit 41856a2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker/container_config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,19 +54,19 @@ func Test_containerConfigBuilder_build(t *testing.T) {
"image",
"command",
map[nat.Port]struct{}{
"8080:8080": struct{}{},
"8080:8080": {},
},
},
container.Config{
Image: "image",
Cmd: strings.Split("command", " "),
ExposedPorts: map[nat.Port]struct{}{
"8080:8080": struct{}{},
"8080:8080": {},
},
},
container.HostConfig{
PortBindings: map[nat.Port][]nat.PortBinding{
"8080/tcp": []nat.PortBinding{nat.PortBinding{
"8080/tcp": {{
HostPort: "8080:8080",
}},
},
Expand All @@ -79,7 +79,7 @@ func Test_containerConfigBuilder_build(t *testing.T) {
"image",
"command",
map[nat.Port]struct{}{
"asd": struct{}{},
"asd": {},
},
},
container.Config{
Expand Down

0 comments on commit 41856a2

Please sign in to comment.