@@ -37,6 +37,11 @@ static func _consoleConnected(type: CGSNotificationType,
37
37
_ cid: CGSConnectionID ) {
38
38
}
39
39
40
+ public func someTestFunc( withArgumentLabel label: String ,
41
+ someOtherArgumentLabel label2: String ,
42
+ andAnotherArgumentLabel label3: String ) {
43
+ }
44
+
40
45
// RUN: %sourcekitd-test -req=format -line=6 -length=1 %s >%t.response
41
46
// RUN: %sourcekitd-test -req=format -line=7 -length=1 %s >>%t.response
42
47
// RUN: %sourcekitd-test -req=format -line=8 -length=1 %s >>%t.response
@@ -49,6 +54,8 @@ static func _consoleConnected(type: CGSNotificationType,
49
54
// RUN: %sourcekitd-test -req=format -line=35 -length=1 %s >>%t.response
50
55
// RUN: %sourcekitd-test -req=format -line=36 -length=1 %s >>%t.response
51
56
// RUN: %sourcekitd-test -req=format -line=37 -length=1 %s >>%t.response
57
+ // RUN: %sourcekitd-test -req=format -line=41 -length=1 %s >>%t.response
58
+ // RUN: %sourcekitd-test -req=format -line=42 -length=1 %s >>%t.response
52
59
53
60
// RUN: FileCheck --strict-whitespace %s <%t.response
54
61
@@ -80,3 +87,9 @@ static func _consoleConnected(type: CGSNotificationType,
80
87
81
88
// " _ arg: CGSNotificationArg,"
82
89
// CHECK: key.sourcetext: " _ cid: CGSConnectionID) {"
90
+
91
+ // "public func someTestFunc(withArgumentLabel label: String,"
92
+ // CHECK: key.sourcetext: " someOtherArgumentLabel label2: String,"
93
+
94
+ // " someOtherArgumentLabel label2: String,"
95
+ // CHECK: key.sourcetext: " andAnotherArgumentLabel label3: String) {"
0 commit comments