Replacing t.Fatal() with t.Fatalf()

Docker-DCO-1.1-Signed-off-by: Milos Gajdos <milosgajdos83@gmail.com> (github: milosgajdos83)
This commit is contained in:
Milos Gajdos 2014-08-06 01:29:37 +01:00
parent e8abb5ca89
commit 3ff181bb20
1 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ func TestCreateBridgeWithMac(t *testing.T) {
}
if _, err := net.InterfaceByName(name); err == nil {
t.Fatal("expected error getting interface because %s bridge was deleted", name)
t.Fatalf("expected error getting interface because %s bridge was deleted", name)
}
}
@ -51,7 +51,7 @@ func TestCreateBridgeLink(t *testing.T) {
}
if _, err := net.InterfaceByName(name); err == nil {
t.Fatal("expected error getting interface because %s bridge was deleted", name)
t.Fatalf("expected error getting interface because %s bridge was deleted", name)
}
}