- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestReadFrom (0.06 sec)
-
src/bytes/buffer_test.go
if b.String() != "<nil>" { t.Errorf("expected <nil>; got %q", b.String()) } } func TestReadFrom(t *testing.T) { var buf Buffer for i := 3; i < 30; i += 3 { s := fillBytes(t, "TestReadFrom (1)", &buf, "", 5, testBytes[:len(testBytes)/i]) var b Buffer b.ReadFrom(&buf) empty(t, "TestReadFrom (2)", &b, s, make([]byte, len(testString))) } } type panicReader struct{ panic bool }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon May 19 16:13:04 UTC 2025 - 18.6K bytes - Viewed (0)