You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CBORCoding.podspec
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
Pod::Spec.newdo |s|
2
2
3
3
s.name="CBORCoding"
4
-
s.version="1.3.0"
4
+
s.version="1.3.1"
5
5
s.summary="A CBOR Encoder and Decoder"
6
6
s.description=<<-DESC
7
7
A lightweight framework containing a coder pair for encoding and decoding `Codable` conforming types to and from CBOR document format for iOS, macOS, tvOS, and watchOS.
expectedTypes = expected.map({"\($0)"}).joined(separator:" or ")
467
467
}else{
468
-
expectedTypes ="\(expected[0])"
468
+
expectedTypes ="\(expected[expected.startIndex])"
469
469
}
470
470
471
-
self=.typeMismatch(expected[0],Context(codingPath: path, debugDescription:"Expected to decode \(expectedTypes) but found \(actual) instead."))
471
+
self=.typeMismatch(expected[expected.startIndex],Context(codingPath: path, debugDescription:"Expected to decode \(expectedTypes) but found \(actual) instead."))
0 commit comments