Commit 01e8697d authored by Kirill Smelkov's avatar Kirill Smelkov

tracing/tracetest: Cosmetics

parent 3b19f68c
...@@ -292,7 +292,7 @@ func (t *T) Fatalf(format string, argv ...interface{}) { ...@@ -292,7 +292,7 @@ func (t *T) Fatalf(format string, argv ...interface{}) {
t.FailNow() t.FailNow()
} }
// closeStreamTab prints details about pending event on streamTab, naks them // closeStreamTab prints details about pending events on streamTab, naks them
// and closes all channels. It returns the number of naked messages. // and closes all channels. It returns the number of naked messages.
func (t *T) closeStreamTab() (nnak int) { func (t *T) closeStreamTab() (nnak int) {
t.Helper() t.Helper()
...@@ -476,7 +476,7 @@ func (t *T) xget1(stream string, eventp interface{}) *_Msg { ...@@ -476,7 +476,7 @@ func (t *T) xget1(stream string, eventp interface{}) *_Msg {
t.mu.Unlock() t.mu.Unlock()
if ch == nil { if ch == nil {
t.Fatalf("%s: recv: cancled (test failed)", stream) t.Fatalf("%s: recv: canceled (test failed)", stream)
} }
return ch.RecvInto(eventp) return ch.RecvInto(eventp)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment