Signed-off-by: Antonio Murdaca <runcom@redhat.com>
| ... | ... |
@@ -36,7 +36,7 @@ func newTestRegistry(c *check.C) (*testRegistry, error) {
|
| 36 | 36 |
for re, function := range testReg.handlers {
|
| 37 | 37 |
matched, err = regexp.MatchString(re, url) |
| 38 | 38 |
if err != nil {
|
| 39 |
- c.Fatalf("Error with handler regexp")
|
|
| 39 |
+ c.Fatal("Error with handler regexp")
|
|
| 40 | 40 |
return |
| 41 | 41 |
} |
| 42 | 42 |
if matched {
|
| ... | ... |
@@ -46,7 +46,7 @@ func newTestRegistry(c *check.C) (*testRegistry, error) {
|
| 46 | 46 |
} |
| 47 | 47 |
|
| 48 | 48 |
if !matched {
|
| 49 |
- c.Fatal("Unable to match", url, "with regexp")
|
|
| 49 |
+ c.Fatalf("Unable to match %s with regexp", url)
|
|
| 50 | 50 |
} |
| 51 | 51 |
})) |
| 52 | 52 |
|