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 1deff9f + 68e5da4 commit b371348Copy full SHA for b371348
test-static-stdlib/main.swift
@@ -1,6 +1,6 @@
1
2
import Foundation
3
4
-let u = URL(fileURLWithPath: "file:///foo")
+let u = URL(fileURLWithPath: "/foo")
5
6
print("foo bar baz: \(u.relativePath)")
test-static-stdlib/test-static-stdlib.test
@@ -4,4 +4,4 @@ RUN: mkdir -p %t
RUN: %{swiftc} -static-stdlib %S/main.swift -o %t/main
RUN: %t/main | %{FileCheck} %s
7
-CHECK: foo bar baz: file:/foo
+CHECK: foo bar baz: /foo
0 commit comments