Skip to content

Commit a9af464

Browse files
matthewdaleCopilot
andauthored
Apply suggestion from @Copilot
Co-authored-by: Copilot <[email protected]>
1 parent 281034c commit a9af464

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/integration/collection_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1427,7 +1427,7 @@ func TestCollection(t *testing.T) {
14271427
update := bson.D{{"$set", bson.D{{"x", 6}}}}
14281428

14291429
err := mt.Coll.FindOneAndUpdate(context.Background(), filter, update).Err()
1430-
assert.NoError(mt, err, "FindOneAndUpdate error: %v", err)
1430+
require.NoError(mt, err, "FindOneAndUpdate error: %v", err)
14311431
})
14321432
mt.Run("not found", func(mt *mtest.T) {
14331433
initCollection(mt, mt.Coll)

0 commit comments

Comments
 (0)