Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go123
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go123
Commits
01e8697d
Commit
01e8697d
authored
Nov 24, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tracing/tracetest: Cosmetics
parent
3b19f68c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tracing/tracetest/tracetest.go
tracing/tracetest/tracetest.go
+2
-2
No files found.
tracing/tracetest/tracetest.go
View file @
01e8697d
...
@@ -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 event
s
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: canc
e
led (test failed)"
,
stream
)
}
}
return
ch
.
RecvInto
(
eventp
)
return
ch
.
RecvInto
(
eventp
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment