aboutsummaryrefslogtreecommitdiffstats
path: root/modules/packages/hashed_buffer_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/packages/hashed_buffer_test.go')
-rw-r--r--modules/packages/hashed_buffer_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/packages/hashed_buffer_test.go b/modules/packages/hashed_buffer_test.go
index e907aa0605..564e782f18 100644
--- a/modules/packages/hashed_buffer_test.go
+++ b/modules/packages/hashed_buffer_test.go
@@ -26,7 +26,7 @@ func TestHashedBuffer(t *testing.T) {
}
for _, c := range cases {
- buf, err := CreateHashedBufferFromReader(strings.NewReader(c.Data), c.MaxMemorySize)
+ buf, err := CreateHashedBufferFromReaderWithSize(strings.NewReader(c.Data), c.MaxMemorySize)
assert.NoError(t, err)
assert.EqualValues(t, len(c.Data), buf.Size())