We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc5ca50 commit 155c46bCopy full SHA for 155c46b
buffer_test.go
@@ -892,7 +892,7 @@ func TestPartitionAt2(t *testing.T) {
892
// TestPartitionAt3 tests ability to overwrite buffer previously written.
893
func TestPartitionAt3(t *testing.T) {
894
buf := NewPartitionAt(NewMemPoolAt(5))
895
- buf.Write(make([]byte, 15, 15)) // allocates 3 membuffers
+ buf.Write(make([]byte, 15)) // allocates 3 membuffers
896
buf.WriteAt([]byte("hey"), 0)
897
data := make([]byte, 10)
898
data = data[:3]
0 commit comments