- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestMultiReaderAsWriterTo (0.22 sec)
-
src/io/multi_test.go
expectRead(4, "foo ", nil) expectRead(1, "b", nil) expectRead(3, "ar", nil) expectRead(1, "", EOF) }) withFooBar(func() { expectRead(5, "foo ", nil) }) } func TestMultiReaderAsWriterTo(t *testing.T) { mr := MultiReader( strings.NewReader("foo "), MultiReader( // Tickle the buffer reusing codepath strings.NewReader(""), strings.NewReader("bar"), ), )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 06 15:49:32 UTC 2022 - 10K bytes - Viewed (0)