service/test: assert error on CreateBreakpoint in TestNextInstruction (#3979)

This commit is contained in:
Oleksandr Redko
2025-04-09 22:43:45 +03:00
committed by GitHub
parent f8dda39cb3
commit 9234dbe6d5

View File

@ -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()")