Skip to content

Commit 697675b

Browse files
author
Harlan Haskins
authored
Merge pull request #23564 from rintaro/test-rdar49240981
[test] Update and re-enable test case disabled in 06b5ef3
2 parents b616f6c + 445d426 commit 697675b

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

test/IDE/complete_constructor.swift

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@
5050
// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=AVAILABLE_1 | %FileCheck %s -check-prefix=AVAILABLE_1
5151
// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=AVAILABLE_2 | %FileCheck %s -check-prefix=AVAILABLE_2
5252

53-
// REQUIRES: rdar49240981
54-
5553
func freeFunc() {}
5654

5755
//===---
@@ -92,10 +90,11 @@ func testImplicitConstructors2() {
9290
}
9391
func testImplicitConstructors2P() {
9492
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
9998
}
10099

101100
struct ExplicitConstructors1 {
@@ -290,10 +289,11 @@ func testHaveRParen1() {
290289

291290
func testHaveRParen2() {
292291
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
297297
}
298298

299299
func testHaveComma1() {

0 commit comments

Comments
 (0)