Skip to content

Commit d7ad79e

Browse files
author
Nathan Hawes
authored
Merge pull request swiftlang#28154 from nathawes/test-interface-gen-group-plus-synthesize-extension
[test][IDE] Test interface generation with grouping and synthesize extensions on
2 parents 1ea23d9 + dd2cced commit d7ad79e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/SourceKit/InterfaceGen/gen_stdlib.swift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,11 @@ var x: Int
7777
// CHECK-FLOAT-NOT: Zip2Sequence
7878
// CHECK-FLOAT-NOT: struct Bool
7979
// CHECK-FLOAT-NOT: struct Int
80+
81+
82+
// RUN: %sourcekitd-test -req=interface-gen -module Swift -group-name Misc -synthesized-extension > %t.Misc.response
83+
// RUN: %FileCheck -check-prefix=CHECK-ERROR -input-file %t.Misc.response %s
84+
// RUN: %sourcekitd-test -req=interface-gen -module Swift -interested-usr s:s5ErrorP -synthesized-extension > %t.Error.response
85+
// RUN: %FileCheck -check-prefix=CHECK-ERROR -input-file %t.Error.response %s
86+
87+
// CHECK-ERROR: protocol Error

0 commit comments

Comments
 (0)