fix: initialize assert for withBuffer test

This commit is contained in:
Elim Tsiagbey committed 2024-01-11 09:58:32 -05:00
1 parent fd385089e8
commit ac382da11f
1 file changed
+2
+2
View File
@@ -60,6 +60,8 @@ func Test_getOpts(t *testing.T) {
assert.Equal(opts, testOpts)
})
t.Run("WithBuffer", func(t *testing.T) {
t.Parallel()
assert := assert.New(t)
testOpts := getDefaultOptions()
opts := GetOpts(WithBuffer(0))
assert.Equal(testOpts, opts)