mirror of
https://github.com/go-delve/delve.git
synced 2025-10-29 01:27:16 +08:00
Use consistent fatal test messages
This commit is contained in:
@ -184,8 +184,8 @@ func TestNext(t *testing.T) {
|
||||
helper.WithTestProcess(executablePath, t, func(p *proctl.DebuggedProcess) {
|
||||
pc, _, _ := p.GoSymTable.LineToPC(fp, testcases[0].begin)
|
||||
_, err := p.Break(uintptr(pc))
|
||||
assertNoError(err, t, "Break() returned an error")
|
||||
assertNoError(p.Continue(), t, "Continue() returned an error")
|
||||
assertNoError(err, t, "Break()")
|
||||
assertNoError(p.Continue(), t, "Continue()")
|
||||
|
||||
for _, tc := range testcases {
|
||||
ln = currentLineNumber(p, t)
|
||||
|
||||
Reference in New Issue
Block a user