Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
c481b920
Commit
c481b920
authored
Dec 24, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
99977ccd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
go/internal/xtracing/tracetest/example_test.go
go/internal/xtracing/tracetest/example_test.go
+4
-4
No files found.
go/internal/xtracing/tracetest/example_test.go
View file @
c481b920
...
...
@@ -47,11 +47,11 @@ func hello(who string) {
fmt
.
Println
(
"Hello,"
,
who
)
}
// Test
Tracetest
Example demonstrates how to use tracetest to verify concurrent system with 2 threads.
func
Test
Tracetest
Example
(
t
*
testing
.
T
)
{
tracetest
.
Verify
(
t
,
t
estT
racetestExample
)
// TestExample demonstrates how to use tracetest to verify concurrent system with 2 threads.
func
TestExample
(
t
*
testing
.
T
)
{
tracetest
.
Verify
(
t
,
tracetestExample
)
}
func
t
estT
racetestExample
(
t
*
tracetest
.
T
)
{
func
tracetestExample
(
t
*
tracetest
.
T
)
{
type
eventHi
string
type
eventHello
string
...
...
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