|
50 | 50 | // RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=AVAILABLE_1 | %FileCheck %s -check-prefix=AVAILABLE_1 |
51 | 51 | // RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=AVAILABLE_2 | %FileCheck %s -check-prefix=AVAILABLE_2 |
52 | 52 |
|
53 | | -// REQUIRES: rdar49240981 |
54 | | - |
55 | 53 | func freeFunc() {} |
56 | 54 |
|
57 | 55 | //===--- |
@@ -92,10 +90,11 @@ func testImplicitConstructors2() { |
92 | 90 | } |
93 | 91 | func testImplicitConstructors2P() { |
94 | 92 | ImplicitConstructors2(#^IMPLICIT_CONSTRUCTORS_2P^# |
95 | | -// IMPLICIT_CONSTRUCTORS_2P: Begin completions |
96 | | -// IMPLICIT_CONSTRUCTORS_2P-NEXT: Decl[Constructor]/CurrNominal: ['(']{#instanceVar: Int#}[')'][#ImplicitConstructors2#]{{; name=.+$}} |
97 | | -// IMPLICIT_CONSTRUCTORS_2P-NEXT: Decl[Constructor]/CurrNominal: ['('][')'][#ImplicitConstructors2#]; name= |
98 | | -// IMPLICIT_CONSTRUCTORS_2P-NEXT: End completions |
| 93 | +// IMPLICIT_CONSTRUCTORS_2P: Begin completions, 3 items |
| 94 | +// IMPLICIT_CONSTRUCTORS_2P-DAG: Decl[Constructor]/CurrNominal: ['('][')'][#ImplicitConstructors2#]; name= |
| 95 | +// IMPLICIT_CONSTRUCTORS_2P-DAG: Decl[Constructor]/CurrNominal: ['(']{#instanceVar: Int#}[')'][#ImplicitConstructors2#]{{; name=.+$}} |
| 96 | +// IMPLICIT_CONSTRUCTORS_2P-DAG: Decl[Constructor]/CurrNominal: ['('][')'][#ImplicitConstructors2#]; name= |
| 97 | +// IMPLICIT_CONSTRUCTORS_2P: End completions |
99 | 98 | } |
100 | 99 |
|
101 | 100 | struct ExplicitConstructors1 { |
@@ -290,10 +289,11 @@ func testHaveRParen1() { |
290 | 289 |
|
291 | 290 | func testHaveRParen2() { |
292 | 291 | ImplicitConstructors2(#^HAVE_RPAREN_2^#) |
293 | | -// HAVE_RPAREN_2-NOT: Decl[Constructor] |
294 | | -// HAVE_RPAREN_2: Decl[Constructor]/CurrNominal: ['(']{#instanceVar: Int#}[')'][#ImplicitConstructors2#]{{; name=.+$}} |
295 | | -// HAVE_RPAREN_2: Decl[Constructor]/CurrNominal: ['('][')'][#ImplicitConstructors2#]; name= |
296 | | -// HAVE_RPAREN_2-NOT: Decl[Constructor] |
| 292 | +// HAVE_RPAREN_2: Begin completions, 3 items |
| 293 | +// HAVE_RPAREN_2-DAG: Decl[Constructor]/CurrNominal: ['('][')'][#ImplicitConstructors2#]; name= |
| 294 | +// HAVE_RPAREN_2-DAG: Decl[Constructor]/CurrNominal: ['(']{#instanceVar: Int#}[')'][#ImplicitConstructors2#]{{; name=.+$}} |
| 295 | +// HAVE_RPAREN_2-DAG: Decl[Constructor]/CurrNominal: ['('][')'][#ImplicitConstructors2#]; name= |
| 296 | +// HAVE_RPAREN_2: End completions |
297 | 297 | } |
298 | 298 |
|
299 | 299 | func testHaveComma1() { |
|
0 commit comments