summaryrefslogtreecommitdiffhomepage
path: root/pkg/eventchannel/event_test.go
diff options
context:
space:
mode:
authorAdin Scannell <ascannell@google.com>2020-03-25 17:15:05 -0700
committerAdin Scannell <ascannell@google.com>2020-04-08 10:14:34 -0700
commit928a7c60b8f02811e9c0fcbed0077efd55471cc4 (patch)
tree1c32d4947604622f0a9e3a46df06eeefba46adc6 /pkg/eventchannel/event_test.go
parent94b793262d3c54b4c32fed83d2bd121069680d15 (diff)
Fix all printf formatting errors.
Updates #2243
Diffstat (limited to 'pkg/eventchannel/event_test.go')
-rw-r--r--pkg/eventchannel/event_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/eventchannel/event_test.go b/pkg/eventchannel/event_test.go
index 7f41b4a27..43750360b 100644
--- a/pkg/eventchannel/event_test.go
+++ b/pkg/eventchannel/event_test.go
@@ -78,7 +78,7 @@ func TestMultiEmitter(t *testing.T) {
for _, name := range names {
m := testMessage{name: name}
if _, err := me.Emit(m); err != nil {
- t.Fatal("me.Emit(%v) failed: %v", m, err)
+ t.Fatalf("me.Emit(%v) failed: %v", m, err)
}
}
@@ -96,7 +96,7 @@ func TestMultiEmitter(t *testing.T) {
// Close multiEmitter.
if err := me.Close(); err != nil {
- t.Fatal("me.Close() failed: %v", err)
+ t.Fatalf("me.Close() failed: %v", err)
}
// All testEmitters should be closed.