@@ -69,7 +69,9 @@ func testImplicitConstructors1() {
6969}
7070func testImplicitConstructors1P( ) {
7171 ImplicitConstructors1( #^IMPLICIT_CONSTRUCTORS_1 P^#
72- // IMPLICIT_CONSTRUCTORS_1P-NOT: Begin completions
72+ // IMPLICIT_CONSTRUCTORS_1P: Begin completions, 1 items
73+ // IMPLICIT_CONSTRUCTORS_1P: Decl[Constructor]/CurrNominal: ['('][')'][#ImplicitConstructors1#]; name=
74+ // IMPLICIT_CONSTRUCTORS_1P: End completions
7375}
7476
7577struct ImplicitConstructors2 {
@@ -89,6 +91,7 @@ func testImplicitConstructors2P() {
8991 ImplicitConstructors2( #^IMPLICIT_CONSTRUCTORS_2 P^#
9092// IMPLICIT_CONSTRUCTORS_2P: Begin completions
9193// IMPLICIT_CONSTRUCTORS_2P-NEXT: Decl[Constructor]/CurrNominal: ['(']{#instanceVar: Int#}[')'][#ImplicitConstructors2#]{{; name=.+$}}
94+ // IMPLICIT_CONSTRUCTORS_2P-NEXT: Decl[Constructor]/CurrNominal: ['('][')'][#ImplicitConstructors2#]; name=
9295// IMPLICIT_CONSTRUCTORS_2P-NEXT: End completions
9396}
9497
@@ -111,6 +114,7 @@ func testExplicitConstructors1() {
111114func testExplicitConstructors1P( ) {
112115 ExplicitConstructors1( #^EXPLICIT_CONSTRUCTORS_1 P^#
113116// EXPLICIT_CONSTRUCTORS_1P: Begin completions
117+ // EXPLICIT_CONSTRUCTORS_1P-NEXT: Decl[Constructor]/CurrNominal: ['('][')'][#ExplicitConstructors1#]; name=
114118// EXPLICIT_CONSTRUCTORS_1P-NEXT: Decl[Constructor]/CurrNominal: ['(']{#a: Int#}[')'][#ExplicitConstructors1#]{{; name=.+$}}
115119// EXPLICIT_CONSTRUCTORS_1P-NEXT: Decl[Constructor]/CurrNominal: ['(']{#a: Int#}, {#b: Float#}[')'][#ExplicitConstructors1#]{{; name=.+$}}
116120// EXPLICIT_CONSTRUCTORS_1P-NEXT: End completions
@@ -276,13 +280,16 @@ struct ExplicitConstructorsDerived3 {
276280
277281func testHaveRParen1( ) {
278282 ImplicitConstructors1 ( #^HAVE_RPAREN_1 ^#)
279- // HAVE_RPAREN_1-NOT: Decl[Constructor]
283+ // HAVE_RPAREN_1: Begin completions, 1 items
284+ // HAVE_RPAREN_1: Decl[Constructor]/CurrNominal: ['('][')'][#ImplicitConstructors1#]; name=
285+ // HAVE_RPAREN_1: End completions
280286}
281287
282288func testHaveRParen2( ) {
283289 ImplicitConstructors2 ( #^HAVE_RPAREN_2 ^#)
284290// HAVE_RPAREN_2-NOT: Decl[Constructor]
285291// HAVE_RPAREN_2: Decl[Constructor]/CurrNominal: ['(']{#instanceVar: Int#}[')'][#ImplicitConstructors2#]{{; name=.+$}}
292+ // HAVE_RPAREN_2: Decl[Constructor]/CurrNominal: ['('][')'][#ImplicitConstructors2#]; name=
286293// HAVE_RPAREN_2-NOT: Decl[Constructor]
287294}
288295
0 commit comments