mirror of
https://github.com/go-delve/delve.git
synced 2025-10-27 20:23:41 +08:00
service/test: assert error on CreateBreakpoint in TestNextInstruction (#3979)
This commit is contained in:
@ -3131,6 +3131,7 @@ func TestNextInstruction(t *testing.T) {
|
||||
withTestClient2("testprog", t, func(c service.Client) {
|
||||
fp := testProgPath(t, "testprog")
|
||||
_, err := c.CreateBreakpoint(&api.Breakpoint{File: fp, Line: 19})
|
||||
assertNoError(err, t, "CreateBreakpoint()")
|
||||
state := <-c.Continue()
|
||||
assertNoError(state.Err, t, "Continue()")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user