Skip to content

Commit 94909f8

Browse files
Apply suggestion from @prestonvasquez
Co-authored-by: Preston Vasquez <[email protected]>
1 parent 274e85d commit 94909f8

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
@@ -90,7 +90,7 @@ func TestCursor_TryNext(t *testing.T) {
9090

9191
initCollection(mt, mt.Coll)
9292
cursor, err := mt.Coll.Find(context.Background(), bson.D{})
93-
assert.Nil(mt, err, "Find error: %v", err)
93+
require.NoError(mt, err, "Find error: %v", err)
9494
defer cursor.Close(context.Background())
9595
tryNextExistingBatchTest(mt, cursor)
9696
})

0 commit comments

Comments
 (0)