Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
Signed-off-by: Jimmy Moore <jamesmoore@loopholelabs.io>
  • Loading branch information
jimmyaxod committed Oct 24, 2024
1 parent 6b43ef1 commit 3f913af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/storage/device/device_sync_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ func TestDeviceSync(t *testing.T) {
// Do a few write here, and wait a little bit for sync to happen...
for i := 0; i < num_blocks; i++ {
wbuffer := make([]byte, block_size)
rand.Read(wbuffer)
_, err = rand.Read(wbuffer)
assert.NoError(t, err)
n, err = prov.WriteAt(wbuffer, int64(i*block_size))
assert.NoError(t, err)
assert.Equal(t, 64*1024, n)
Expand Down

0 comments on commit 3f913af

Please sign in to comment.