fix fd0 read error on long stdout output (scanner buffer was too small)

This commit is contained in:
2023-02-13 01:41:33 +01:00
parent 4a2b830252
commit 9f5612248a
3 changed files with 23 additions and 7 deletions

View File

@@ -280,7 +280,7 @@ func TestLongStdout(t *testing.T) {
if res1.StdErr != "" {
t.Errorf("res1.StdErr == '%v'", res1.StdErr)
}
if len(res1.StdOut) != 375006 {
if len(res1.StdOut) != 375009 {
t.Errorf("len(res1.StdOut) == '%v'", len(res1.StdOut))
}