- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestNewBuffer (0.04 sec)
-
src/bytes/buffer_test.go
} if err != nil { t.Errorf(testname+" (fill 3): err should always be nil, found err == %s", err) } s += string(fub) check(t, testname+" (fill 4)", buf, s) } return s } func TestNewBuffer(t *testing.T) { buf := NewBuffer(testBytes) check(t, "NewBuffer", buf, testString) } var buf Buffer // Calling NewBuffer and immediately shallow copying the Buffer structRegistered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Nov 14 19:01:17 UTC 2025 - 19.4K bytes - Viewed (0)