Home | History | Annotate | Download | only in io

Lines Matching refs:expectRead

29 	expectRead := func(size int, expected string, eerr error) {
48 expectRead(2, "fo", nil)
49 expectRead(5, "o ", nil)
50 expectRead(5, "bar", nil)
51 expectRead(5, "", EOF)
54 expectRead(4, "foo ", nil)
55 expectRead(1, "b", nil)
56 expectRead(3, "ar", nil)
57 expectRead(1, "", EOF)
60 expectRead(5, "foo ", nil)