Skip to content

Commit c9f0256

Browse files
committed
Add messages tests.
1 parent e835187 commit c9f0256

File tree

5 files changed

+392
-85
lines changed

5 files changed

+392
-85
lines changed

Sources/AblyChat/InternalError.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ internal enum InternalError: Error {
3131
}
3232
}
3333

34+
extension InternalError: Equatable {
35+
internal static func == (lhs: InternalError, rhs: InternalError) -> Bool {
36+
lhs.toARTErrorInfo() == rhs.toARTErrorInfo()
37+
}
38+
}
39+
3440
internal extension ARTErrorInfo {
3541
func toInternalError() -> InternalError {
3642
.errorInfo(self)

0 commit comments

Comments
 (0)