- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestWriterReadFromErrNoProgress (0.11 sec)
-
src/bufio/bufio_test.go
} w.Flush() if got, want := buf.String(), "0123abcd"; got != want { t.Fatalf("buf.Bytes() returned %q, want %q", got, want) } } func TestWriterReadFromErrNoProgress(t *testing.T) { buf := new(bytes.Buffer) w := NewWriterSize(buf, 5) // Partially fill buffer n, err := w.Write([]byte("0123")) if n != 4 || err != nil {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Nov 01 21:52:12 UTC 2024 - 51.6K bytes - Viewed (0)