Swift 5.8 in Xcode 14.3 brought some new build warnings; this fixes them.
adds explicit type annotations (... as [String: Any]) for nested, heterogeneous dictionaries
updates tests to use the XCTestCase.fulfillment(of:timeout:enforceOrder:)that was added in Xcode 14.3 and, when compiled with Swift versions before 5.8, adds an extension to XCTestCase with the same signature. This was required by the addition of @_unavailableFromAsync to the expectation method that I had been using before. Apparently, those older methods can cause deadlocks
Swift 5.8 in Xcode 14.3 brought some new build warnings; this fixes them.
... as [String: Any]
) for nested, heterogeneous dictionariesXCTestCase.fulfillment(of:timeout:enforceOrder:)
that was added in Xcode 14.3 and, when compiled with Swift versions before 5.8, adds an extension toXCTestCase
with the same signature. This was required by the addition of@_unavailableFromAsync
to the expectation method that I had been using before. Apparently, those older methods can cause deadlocks