提交 666a618f 编写于 作者: C chainhelen 提交者: Alessandro Arzilli

service/test: Fix a wrong judgment about err.

Should judge `state.Err` instead of `err`.
上级 2d7b926c
......@@ -364,8 +364,8 @@ func TestClientServer_breakpointInMainThread(t *testing.T) {
}
state := <-c.Continue()
if err != nil {
t.Fatalf("Unexpected error: %v, state: %#v", err, state)
if state.Err != nil {
t.Fatalf("Unexpected error: %v, state: %#v", state.Err, state)
}
pc := state.CurrentThread.PC
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册