Skip to content

Commit f59119e

Browse files
committed
minor: stop comparing details field of WriteConcernFailure in tests
This makes the tests more resilient to upstream changes.
1 parent 7ccd7ac commit f59119e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/TestsCommon/MongoError+Equatable.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ extension BulkWriteFailure: Equatable {
5959

6060
extension WriteConcernFailure: Equatable {
6161
public static func == (lhs: WriteConcernFailure, rhs: WriteConcernFailure) -> Bool {
62-
return lhs.code == rhs.code && lhs.details == rhs.details
62+
return lhs.code == rhs.code
6363
}
6464
}
6565

0 commit comments

Comments
 (0)