mirror of
https://github.com/go-delve/delve.git
synced 2025-10-30 18:27:37 +08:00
proc: bugfix: cleaning up spurious process exited errors (#599)
Fixes flakiness of TestCmdLineArgs.
This commit is contained in:
committed by
Derek Parker
parent
c7f11149d7
commit
16f16cf86d
@ -1685,7 +1685,7 @@ func TestCmdLineArgs(t *testing.T) {
|
||||
}
|
||||
exit, exited := err.(ProcessExitedError)
|
||||
if !exited {
|
||||
t.Fatalf("Process did not exit!", err)
|
||||
t.Fatalf("Process did not exit: %v", err)
|
||||
} else {
|
||||
if exit.Status != 0 {
|
||||
t.Fatalf("process exited with invalid status", exit.Status)
|
||||
|
||||
Reference in New Issue
Block a user