Skip to content

Commit d3f9410

Browse files
committed
test: make DebugInfo.macro pass on Windows
The path separator on Windows is \ which is encoded as \5C. Account for this in the test.
1 parent 965953d commit d3f9410

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/DebugInfo/macro.swift

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

77
// CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "macro_enum",
88
// CHECK-SAME: file: ![[MACRO_H:[0-9]+]]
9-
// CHECK: ![[MACRO_H]] = !DIFile(filename: "{{.*}}/Inputs/Macro.h",
9+
// CHECK: ![[MACRO_H]] = !DIFile(filename: "{{.*}}{{(/|\\5C)}}Inputs{{(/|\\5C)}}Macro.h",
1010

1111
import Macro
1212

0 commit comments

Comments
 (0)