fix: initialize `assert` for `withBuffer` test

pull/4095/head
Elim Tsiagbey 2 years ago
parent fd385089e8
commit ac382da11f

@ -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)

Loading…
Cancel
Save