mirror of
https://github.com/go-delve/delve.git
synced 2025-10-27 12:05:21 +08:00
tests: remove duplicate code (#1669)
This commit is contained in:
committed by
Derek Parker
parent
4779218a83
commit
327fbdbd44
@ -36,8 +36,7 @@ func TestIssue419(t *testing.T) {
|
||||
// SIGINT directed at the inferior should be passed along not swallowed by delve
|
||||
withTestProcess("issue419", t, func(p proc.Process, fixture protest.Fixture) {
|
||||
defer close(errChan)
|
||||
_, err := setFunctionBreakpoint(p, "main.main")
|
||||
assertNoError(err, t, "SetBreakpoint()")
|
||||
setFunctionBreakpoint(p, t, "main.main")
|
||||
assertNoError(proc.Continue(p), t, "Continue()")
|
||||
resumeChan := make(chan struct{}, 1)
|
||||
go func() {
|
||||
|
||||
Reference in New Issue
Block a user