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 83fe3d0 commit 1df6ba4Copy full SHA for 1df6ba4
Sources/Testing/Support/FileHandle.swift
@@ -741,11 +741,11 @@ let rootDirectoryPath: String = {
741
result = String.decodeCString(buffer.baseAddress!, as: UTF16.self)?.result
742
}
743
744
-
745
- // If we weren't able to get a path, fall back to "C:\" on the assumption
746
- // that it's the common case and most likely correct.
747
- return result ?? #"C:\"#
748
+
+ // If we weren't able to get a path, fall back to "C:\" on the assumption that
+ // it's the common case and most likely correct.
+ return result ?? #"C:\"#
749
#else
750
return "/"
751
#endif
0 commit comments