Skip to content

Commit a11cc89

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

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
@@ -105,7 +105,7 @@ func TestCursor_TryNext(t *testing.T) {
105105
require.NoError(mt, err, "InsertOne error: %v", err)
106106

107107
cursor, err := mt.Coll.Find(context.Background(), bson.D{}, options.Find().SetCursorType(options.Tailable))
108-
assert.Nil(mt, err, "Find error: %v", err)
108+
require.NoError(mt, err, "Find error: %v", err)
109109
defer cursor.Close(context.Background())
110110

111111
// first call to TryNext should return 1 document

0 commit comments

Comments
 (0)