We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 025bcb1 commit f9a5148Copy full SHA for f9a5148
Tests/SystemTests/FilePathTests/FilePathTest.swift
@@ -69,7 +69,11 @@ final class FilePathTest: XCTestCase {
69
}
70
71
testPath.filePath.withPlatformString {
72
+#if os(Windows)
73
+ XCTAssertEqual(testPath.string, String(decodingCString: $0, as: UTF16.self))
74
+#else
75
XCTAssertEqual(testPath.string, String(cString: $0))
76
+#endif
77
XCTAssertEqual(testPath.filePath, FilePath(platformString: $0))
78
79
0 commit comments