mirror of
https://github.com/apple/swift-foundation.git
synced 2025-05-23 14:00:14 +08:00
Rather than relaying the underlying system error, replace the error with the expected error code. This repairs the test case expectation of the thrown error.