Commit a5e6b762 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 2fdaf6da
...@@ -190,7 +190,7 @@ func TestExpectValue(t *testing.T) { ...@@ -190,7 +190,7 @@ func TestExpectValue(t *testing.T) {
hi("T1·A") hi("T1·A")
}() }()
t.Expect("t1", eventHello("T1·B")) t.Expect("t1", eventHi("T1·B"))
}) })
} }
...@@ -289,6 +289,17 @@ var testExpectMap = map[string]testExpect{ ...@@ -289,6 +289,17 @@ var testExpectMap = map[string]testExpect{
`}, `},
"TestExpectValue": {1, "TestExpectValue": {1,
` `--- FAIL: TestExpectValue (<TIME>)
example_test.go:193: t1: expect: tracetest_test.eventHi:
want: T1·B
have: T1·A
diff:
-"T1·B"
+"T1·A"
example_test.go:193: test shutdown: #streams: 1, #(pending events): 0
# t1
tracetest.go:<LINE>: t1: send: unexpected event data
`}, `},
} }
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