Skip to content

Commit 193cbc9

Browse files
authored
[Test] Add target to new SK test (swiftlang#63892)
This test uses a module built for the current target. The cursor info request needs that target as well.
1 parent 6a5c0d0 commit 193cbc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/SourceKit/Refactoring/rename-across-modules.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public protocol Action {}
1010
//--- test.swift
1111
import MyModule
1212

13-
// RUN: %sourcekitd-test -req=cursor -pos=%(line+1):19 -length=6 -cursor-action %t/test.swift -- %t/test.swift -I %t/build | %FileCheck %s
13+
// RUN: %sourcekitd-test -req=cursor -pos=%(line+1):19 -length=6 -cursor-action %t/test.swift -- %t/test.swift -target %target-triple -I %t/build | %FileCheck %s
1414
func test(action: Action) { }
1515
// CHECK: ACTIONS BEGIN
1616
// CHECK-NEXT: source.refactoring.kind.rename.global

0 commit comments

Comments
 (0)