Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 034cfa6

Browse files
committed
Add large output
1 parent 7692c5d commit 034cfa6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pty/ptytest/ptytest_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ func TestPtytest(t *testing.T) {
3030
}{
3131
{name: "1024 is safe (does not exceed macOS buffer)", output: strings.Repeat(".", 1024)},
3232
{name: "1025 exceeds macOS buffer (must not hang)", output: strings.Repeat(".", 1025)},
33+
{name: "10241 large output", output: strings.Repeat(".", 10241)}, // 1024 * 10 + 1
3334
}
3435
for _, tt := range tests {
3536
tt := tt

0 commit comments

Comments
 (0)