mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
integration-cli: fix wrong formats
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
3a8d694e01
commit
5fe38d39e7
1 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ func newTestRegistry(c *check.C) (*testRegistry, error) {
|
||||||
for re, function := range testReg.handlers {
|
for re, function := range testReg.handlers {
|
||||||
matched, err = regexp.MatchString(re, url)
|
matched, err = regexp.MatchString(re, url)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
c.Fatalf("Error with handler regexp")
|
c.Fatal("Error with handler regexp")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if matched {
|
if matched {
|
||||||
|
@ -46,7 +46,7 @@ func newTestRegistry(c *check.C) (*testRegistry, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if !matched {
|
if !matched {
|
||||||
c.Fatal("Unable to match", url, "with regexp")
|
c.Fatalf("Unable to match %s with regexp", url)
|
||||||
}
|
}
|
||||||
}))
|
}))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue