Skip to content

Commit 4e8c1b6

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

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
@@ -119,7 +119,7 @@ func TestCursor_TryNext(t *testing.T) {
119119
findRes := mtest.CreateCursorResponse(50, "foo.bar", mtest.FirstBatch)
120120
mt.AddMockResponses(findRes)
121121
cursor, err := mt.Coll.Find(context.Background(), bson.D{})
122-
assert.Nil(mt, err, "Find error: %v", err)
122+
require.NoError(mt, err, "Find error: %v", err)
123123
defer cursor.Close(context.Background())
124124
tryNextGetmoreError(mt, cursor)
125125
})

0 commit comments

Comments
 (0)