mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-09 14:41:02 +00:00
fix lint
This commit is contained in:
parent
87d1c31607
commit
797b8bc31f
1 changed files with 2 additions and 2 deletions
|
|
@ -84,7 +84,7 @@ func TestManagerManager(t *testing.T) {
|
|||
wld, err = mgr2.LoadWriteLog()
|
||||
assert.NoError(t, err)
|
||||
buf := make([]byte, 16)
|
||||
n, err = wld.Read(buf)
|
||||
n, _ = wld.Read(buf)
|
||||
assert.Equal(t, 9, n)
|
||||
assert.Equal(t, "blahblah\n", string(buf[:9]))
|
||||
n, err = wld.Read(buf)
|
||||
|
|
@ -122,7 +122,7 @@ func TestManagerManager(t *testing.T) {
|
|||
|
||||
// loading write log should fail since there's been a snapshot
|
||||
// between the last load and locking.
|
||||
wld, err = mgr2.LoadWriteLog()
|
||||
_, err = mgr2.LoadWriteLog()
|
||||
assert.NotNil(t, err)
|
||||
|
||||
// mgr2 dies due to error loading write lock
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue