Signed-off-by: Tibor Vass <tibor@docker.com>
Tibor Vass authored on 2015/11/03 13:02:16... | ... |
@@ -2,8 +2,8 @@ package main |
2 | 2 |
|
3 | 3 |
import ( |
4 | 4 |
"fmt" |
5 |
- "strings" |
|
6 | 5 |
"net" |
6 |
+ "strings" |
|
7 | 7 |
|
8 | 8 |
"github.com/docker/docker/pkg/integration/checker" |
9 | 9 |
"github.com/docker/docker/utils" |
... | ... |
@@ -92,7 +92,7 @@ func (s *DockerSuite) TestInfoDiscoveryAdvertiseInterfaceName(c *check.C) { |
92 | 92 |
addrs, err := iface.Addrs() |
93 | 93 |
c.Assert(err, checker.IsNil) |
94 | 94 |
if len(addrs) <= 0 { |
95 |
- c.Fatalf("addrs %v has to have at least one element") |
|
95 |
+ c.Fatalf("addrs %v has to have at least one element", addrs) |
|
96 | 96 |
} |
97 | 97 |
ip, _, err := net.ParseCIDR(addrs[0].String()) |
98 | 98 |
c.Assert(err, checker.IsNil) |
... | ... |
@@ -273,7 +273,7 @@ func (s *DockerSuite) TestRmiForceWithMultipleRepositories(c *check.C) { |
273 | 273 |
if !strings.Contains(out, "Untagged: "+tag2) { |
274 | 274 |
c.Fatalf("should contain Untagged: %s", tag2) |
275 | 275 |
} |
276 |
- if strings.Contains(out, "Untagged: " + tag1) { |
|
276 |
+ if strings.Contains(out, "Untagged: "+tag1) { |
|
277 | 277 |
c.Fatalf("should not contain Untagged: %s", tag1) |
278 | 278 |
} |
279 | 279 |
|