Skip to content

Commit 281034c

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

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
@@ -1345,7 +1345,7 @@ func TestCollection(t *testing.T) {
13451345
replacement := bson.D{{"y", 3}}
13461346

13471347
err := mt.Coll.FindOneAndReplace(context.Background(), filter, replacement).Err()
1348-
assert.NoError(mt, err, "FindOneAndReplace error: %v", err)
1348+
require.NoError(mt, err, "FindOneAndReplace error: %v", err)
13491349
})
13501350
mt.Run("not found", func(mt *mtest.T) {
13511351
initCollection(mt, mt.Coll)

0 commit comments

Comments
 (0)