You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test case Skip More Than Available in chunked_buff_test.go of utils is failing because the Skip method is not correctly handling the situation where the requested skip size exceeds the available bytes in the buffer. Specifically, it seems that the method is returning the wrong number of bytes skipped.
{
name: "Skip More Than Available",
input: []byte("Hello"),
readSize: 0,
skipSize: 10,
expectedOutput: []byte(""),
expectedSkip: 5,
},
The text was updated successfully, but these errors were encountered:
The test case
Skip More Than Available
inchunked_buff_test.go
ofutils
is failing because theSkip
method is not correctly handling the situation where the requested skip size exceeds the available bytes in the buffer. Specifically, it seems that the method is returning the wrong number of bytes skipped.The text was updated successfully, but these errors were encountered: