service/test: Fix a wrong judgment about err.
Should judge `state.Err` instead of `err`.
This commit is contained in:
parent
2d7b926c60
commit
666a618f47
@ -364,8 +364,8 @@ func TestClientServer_breakpointInMainThread(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
state := <-c.Continue()
|
state := <-c.Continue()
|
||||||
if err != nil {
|
if state.Err != nil {
|
||||||
t.Fatalf("Unexpected error: %v, state: %#v", err, state)
|
t.Fatalf("Unexpected error: %v, state: %#v", state.Err, state)
|
||||||
}
|
}
|
||||||
|
|
||||||
pc := state.CurrentThread.PC
|
pc := state.CurrentThread.PC
|
||||||
|
Loading…
Reference in New Issue
Block a user