Skip to content

Commit 331ae17

Browse files
authored
pkg/terminal: improve TestBreakPointFailWithCond (#3996)
1 parent 2256460 commit 331ae17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎pkg/terminal/command_test.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1593,7 +1593,7 @@ func TestBreakPointFailWithCond(t *testing.T) {
15931593
assertNoError(t, term.client.FollowExec(true, ""), "FollowExec")
15941594
_, err := term.Exec("break spawnchild.go:11 if i == 1")
15951595
if err != nil {
1596-
t.Errorf("expect to set a suspened breakpoint")
1596+
t.Fatalf("expect to set a suspended breakpoint: %v", err)
15971597
}
15981598
bp, _ := term.client.GetBreakpoint(1)
15991599
if bp.Cond != "i == 1" {

0 commit comments

Comments
 (0)