From 3ff181bb208f784bcecbd8a0599ce12e3d6e7047 Mon Sep 17 00:00:00 2001 From: Milos Gajdos Date: Wed, 6 Aug 2014 01:29:37 +0100 Subject: [PATCH] Replacing t.Fatal() with t.Fatalf() Docker-DCO-1.1-Signed-off-by: Milos Gajdos (github: milosgajdos83) --- netlink/netlink_linux_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netlink/netlink_linux_test.go b/netlink/netlink_linux_test.go index d387bf77..a25f2861 100644 --- a/netlink/netlink_linux_test.go +++ b/netlink/netlink_linux_test.go @@ -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) } }