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()
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user