Skip to content

Commit

Permalink
Add large output
Browse files Browse the repository at this point in the history
  • Loading branch information
mafredri committed Jun 7, 2022
1 parent 7692c5d commit 21bcca7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pty/ptytest/ptytest_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ func TestPtytest(t *testing.T) {
}{
{name: "1024 is safe (does not exceed macOS buffer)", output: strings.Repeat(".", 1024)},
{name: "1025 exceeds macOS buffer (must not hang)", output: strings.Repeat(".", 1025)},
{name: "10241 large output", output: strings.Repeat(".", 10241)}, // 1024 * 10 + 1
}
for _, tt := range tests {
tt := tt
Expand Down

0 comments on commit 21bcca7

Please sign in to comment.