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.
2 parents a102156 + f9a5148 commit 0a7e8e1Copy full SHA for 0a7e8e1
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