Replace Error with Errorf, found by go vet.
This commit is contained in:
parent
50a1c37317
commit
0e8cbf71e8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue