diff --git a/pkg/terminal/command_test.go b/pkg/terminal/command_test.go index 5c8da193..3c49d702 100644 --- a/pkg/terminal/command_test.go +++ b/pkg/terminal/command_test.go @@ -458,7 +458,7 @@ func TestIssue387(t *testing.T) { t.Fatalf("did not continue to expected position %d", pos) } pos++ - if pos > 11 { + if pos >= 11 { break } }