Skip to content

Commit 1b812a2

Browse files
committed
test: make DebugInfo.debug_prefix_map pass on Windows
The separator that is inserted is the native type, so permit both types of path separators.
1 parent 2d7fedd commit 1b812a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/DebugInfo/debug_prefix_map.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ func square(_ n: Int) -> Int {
99
}
1010

1111
// CHECK: !DIFile(filename: "/var/empty/debug_prefix_map.swift"
12-
// CHECK: !DIModule(scope: null, name: "Globals", includePath: "/var/empty/Globals.swiftmodule"
12+
// CHECK: !DIModule(scope: null, name: "Globals", includePath: "/var/empty{{(/|\\5C)}}Globals.swiftmodule"

0 commit comments

Comments
 (0)