Skip to content

Commit dc52a42

Browse files
Apply suggestion from @prestonvasquez
Co-authored-by: Preston Vasquez <[email protected]>
1 parent 4e8c1b6 commit dc52a42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/integration/cursor_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ func TestCursor_RemainingBatchLength(t *testing.T) {
148148
SetCursorType(options.TailableAwait).
149149
SetMaxAwaitTime(100 * time.Millisecond)
150150
cursor, err := mt.Coll.Find(context.Background(), bson.D{}, findOpts)
151-
assert.Nil(mt, err, "Find error: %v", err)
151+
require.NoError(mt, err, "Find error: %v", err)
152152
defer cursor.Close(context.Background())
153153

154154
mt.ClearEvents()

0 commit comments

Comments
 (0)