fix: initialize assert for withBuffer test
This commit is contained in:
1 parent
fd385089e8
commit
ac382da11f
1 file changed
+2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user