Commit b74bca96 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 7405215b
......@@ -100,9 +100,7 @@ func setupTraceEvents(t *tracetest.T) {
// TestExample demonstrates how to use tracetest to verify concurrent system with 2 threads.
func TestExample(t *testing.T) {
tracetest.Verify(t, tracetestExample)
}
func tracetestExample(t *tracetest.T) {
tracetest.Verify(t, func(t *tracetest.T) {
// setup tracing to deliver trace events to t and route them appropriately.
setupTraceEvents(t)
......@@ -131,4 +129,5 @@ func tracetestExample(t *tracetest.T) {
//t1 := t.OnStream("t1")
//t1.Expect(eventHi("X·A"))
})
}
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