mirror of
https://github.com/apple/swift-system
synced 2026-11-24 04:38:14 +00:00
UTF-8 is not the universal encoding for file systems. Use a platform specific invalid string encoding for testing the sequence. The internal representation of a `FilePath` is dependent on the system, and Windows uses UTF-16 as the base encoding for C interoperability. Adjust the test to use an invalid sequence in the proper encoding. This allows the tests to now build on Windows once again.