[x] I've checked that all new and existing tests pass
[x] I've updated the documentation if necessary
[x] I've added an entry in the CHANGELOG to credit myself
Description
Export OHHTTPStubs from OHHTTPStubsSwift using @_exported so that users doesn't need to import both of them.
Motivation and Context
Previously SwiftPM users should import both OHHTTPStubs and OHHTTPStubsSwift, contrary to CocoaPods users who need to import only OHHTTPStubs.
This difference is small but an obstacle for migrating to Swift Package Manager.
Firstly I removed import OHHTTPStubs statement from Tests/OHHTTPStubsSwiftTests/SwiftHelperTests.swift. This change made tests fail.
Then add @_exported modifier to import statement, then the test passed.
Checklist
Description
Export OHHTTPStubs from OHHTTPStubsSwift using
@_exported
so that users doesn't need to import both of them.Motivation and Context
Previously SwiftPM users should import both OHHTTPStubs and OHHTTPStubsSwift, contrary to CocoaPods users who need to import only OHHTTPStubs. This difference is small but an obstacle for migrating to Swift Package Manager.
import OHHTTPStubs
statement from Tests/OHHTTPStubsSwiftTests/SwiftHelperTests.swift. This change made tests fail.@_exported
modifier to import statement, then the test passed.