Skip to content

Commit 5d2f3e5

Browse files
authored
Merge pull request #28641 from compnerd/magic-separator
test: loosen the #file, #filePath tests for Windows
2 parents 1ac3447 + e3bed00 commit 5d2f3e5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/SILGen/magic_identifier_file.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// RUN: %target-swift-emit-silgen -module-name Foo %s | %FileCheck --check-prefixes=BOTH,ABSOLUTE %s
2-
// RUN: %target-swift-emit-silgen -enable-experimental-concise-pound-file -DNEEDS_CONCISE -module-name Foo %s | %FileCheck --check-prefixes=BOTH,CONCISE %s
1+
// RUN: %target-swift-emit-silgen -module-name Foo %/s | %FileCheck --check-prefixes=BOTH,ABSOLUTE %s
2+
// RUN: %target-swift-emit-silgen -enable-experimental-concise-pound-file -DNEEDS_CONCISE -module-name Foo %/s | %FileCheck --check-prefixes=BOTH,CONCISE %s
33

44
// FIXME: Once this feature becomes non-experimental, we should update existing
55
// tests and delete this file.

test/SILGen/magic_identifier_filepath.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Check that we generate the right code with the flag.
2-
// RUN: %target-swift-emit-silgen -enable-experimental-concise-pound-file -module-name Foo %s | %FileCheck %s
2+
// RUN: %target-swift-emit-silgen -enable-experimental-concise-pound-file -module-name Foo %/s | %FileCheck %s
33

44
// Check that we give errors for use of #filePath if concise #file isn't enabled.
55
// FIXME: Drop if we stop rejecting this.

0 commit comments

Comments
 (0)