Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7692c5d commit 21bcca7Copy full SHA for 21bcca7
pty/ptytest/ptytest_test.go
@@ -30,6 +30,7 @@ func TestPtytest(t *testing.T) {
30
}{
31
{name: "1024 is safe (does not exceed macOS buffer)", output: strings.Repeat(".", 1024)},
32
{name: "1025 exceeds macOS buffer (must not hang)", output: strings.Repeat(".", 1025)},
33
+ {name: "10241 large output", output: strings.Repeat(".", 10241)}, // 1024 * 10 + 1
34
}
35
for _, tt := range tests {
36
tt := tt
0 commit comments