Commit c481b920 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 99977ccd
...@@ -47,11 +47,11 @@ func hello(who string) { ...@@ -47,11 +47,11 @@ func hello(who string) {
fmt.Println("Hello,", who) fmt.Println("Hello,", who)
} }
// TestTracetestExample demonstrates how to use tracetest to verify concurrent system with 2 threads. // TestExample demonstrates how to use tracetest to verify concurrent system with 2 threads.
func TestTracetestExample(t *testing.T) { func TestExample(t *testing.T) {
tracetest.Verify(t, testTracetestExample) tracetest.Verify(t, tracetestExample)
} }
func testTracetestExample(t *tracetest.T) { func tracetestExample(t *tracetest.T) {
type eventHi string type eventHi string
type eventHello string type eventHello string
......
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