Skip to content

Commit 290715e

Browse files
committed
update tests
1 parent 59669a8 commit 290715e

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

test/IDE/complete_value_expr.swift

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -514,14 +514,9 @@ func testMetatypeCompletions() {
514514
func testMetatypeCompletionsWithoutDot() {
515515
NoMetaCompletions.Type.#^FOO_STRUCT_META_2^#
516516
}
517-
// FOO_STRUCT_META-NOT: Decl[StaticVar]/CurrNominal: .foo[#Int#]; name=foo
518-
// FOO_STRUCT_META-NOT: Decl[StaticMethod]/CurrNominal: .bar()[#Void#]; name=bar()
519-
// FOO_STRUCT_META-NOT: Decl[TypeAlias]/CurrNominal: .Foo[#Int#]; name=Foo
520-
// FOO_STRUCT_META-NOT: Decl[Constructor]/CurrNominal: ()[#NoMetaCompletions#]; name=()
521-
// FOO_STRUCT_META-NOT: Decl[StaticVar]/CurrNominal: foo[#Int#]; name=foo
522-
// FOO_STRUCT_META-NOT: Decl[StaticMethod]/CurrNominal: bar()[#Void#]; name=bar()
523-
// FOO_STRUCT_META-NOT: Decl[TypeAlias]/CurrNominal: Foo[#Int#]; name=Foo
524-
// FOO_STRUCT_META-NOT: Decl[Constructor]/CurrNominal: init()[#NoMetaCompletions#]; name=init()
517+
// FOO_STRUCT_META-NOT: Decl
518+
// FOO_STRUCT_META: Keyword[self]/CurrNominal: {{self|.self}}[#NoMetaCompletions.Type.Type#]; name=self
519+
// FOO_STRUCT_META-NOT: Decl
525520

526521
func testImplicitlyCurriedFunc(_ fs: inout FooStruct) {
527522
FooStruct.instanceFunc0(&fs)#^IMPLICITLY_CURRIED_FUNC_0^#

0 commit comments

Comments
 (0)