Skip to content

Commit d2b68c7

Browse files
authored
Merge pull request #32594 from compnerd/diagnostic-medicine
test: unixise some paths in diagnostics tests (NFCI)
2 parents 3d6bc24 + 34cbb30 commit d2b68c7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/diagnostics/pretty-printed-diagnostics.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not %target-swift-frontend -diagnostic-style=swift -typecheck %s 2>&1 | %FileCheck %s
1+
// RUN: not %target-swift-frontend -diagnostic-style=swift -typecheck %/s 2>&1 | %FileCheck %s
22

33
1 + 2
44

test/diagnostics/pretty-printed-source-loc-directive-diags.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not %target-swift-frontend -diagnostic-style=swift -typecheck %s 2>&1 | %FileCheck %s
1+
// RUN: not %target-swift-frontend -diagnostic-style=swift -typecheck %/s 2>&1 | %FileCheck %s
22

33
// Error split between the real file and a virtual one.
44
#sourceLocation(file: "abc.swift", line: 9)

0 commit comments

Comments
 (0)