From 5f443bd45bd63c10796fc340985fddf218c7ef0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sat, 11 Mar 2017 19:07:32 +0100 Subject: [PATCH] commands: t.Error => t.Errorf --- commands/undraft_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/undraft_test.go b/commands/undraft_test.go index 6ed172205..d302d31c5 100644 --- a/commands/undraft_test.go +++ b/commands/undraft_test.go @@ -52,7 +52,7 @@ func TestUndraftContent(t *testing.T) { res, err := undraftContent(p) if test.expectedErr != "" { if err == nil { - t.Error("[%d] Expected error, got none", i) + t.Errorf("[%d] Expected error, got none", i) continue } if err.Error() != test.expectedErr {