From 0e8cbf71e8e54f4ae5652b83679738424db7d1c5 Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Tue, 4 Feb 2014 13:52:15 -0500 Subject: [PATCH] Replace Error with Errorf, found by go vet. --- notifications_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notifications_test.go b/notifications_test.go index a7e8c057..a06f72dc 100644 --- a/notifications_test.go +++ b/notifications_test.go @@ -163,7 +163,7 @@ func TestNtfns(t *testing.T) { // verify that id is nil. if n.Id() != nil { - t.Error("%s: notification should not have non-nil id %v", + t.Errorf("%s: notification should not have non-nil id %v", test.name, n.Id()) continue }