Skip to content

Commit b371348

Browse files
authored
Merge pull request #143 from jrflat/fix-file-url-test
Fix file URL in test-static-stdlib
2 parents 1deff9f + 68e5da4 commit b371348

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test-static-stdlib/main.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
import Foundation
33

4-
let u = URL(fileURLWithPath: "file:///foo")
4+
let u = URL(fileURLWithPath: "/foo")
55

66
print("foo bar baz: \(u.relativePath)")

test-static-stdlib/test-static-stdlib.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ RUN: mkdir -p %t
44
RUN: %{swiftc} -static-stdlib %S/main.swift -o %t/main
55
RUN: %t/main | %{FileCheck} %s
66

7-
CHECK: foo bar baz: file:/foo
7+
CHECK: foo bar baz: /foo

0 commit comments

Comments
 (0)