Skip to content

Commit 52d224c

Browse files
committed
[Test] Fix broken IDE test
`complete_in_result_builder.swift` was modified in 0b9644a but ended up being merged *after* 5d01a09 which removed the `Identical` type relation entirely. Replace the two added test cases with `Convertible` instead.
1 parent 4ebf04a commit 52d224c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/IDE/complete_in_result_builder.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func testGlobalLookup() {
3636
@TupleBuilder<String> var x1 {
3737
#^GLOBAL_LOOKUP^#
3838
// GLOBAL_LOOKUP: Begin completions
39-
// GLOBAL_LOOKUP: Decl[GlobalVar]/CurrModule/TypeRelation[Identical]: MyConstantString[#String#];
39+
// GLOBAL_LOOKUP: Decl[GlobalVar]/CurrModule/TypeRelation[Convertible]: MyConstantString[#String#];
4040
// GLOBAL_LOOKUP: End completions
4141
}
4242

@@ -81,7 +81,7 @@ func testStaticMemberLookup() {
8181
@TupleBuilder<String> var x1 {
8282
StringFactory.#^COMPLETE_STATIC_MEMBER^#
8383
// COMPLETE_STATIC_MEMBER: Begin completions
84-
// COMPLETE_STATIC_MEMBER: Decl[StaticMethod]/CurrNominal/TypeRelation[Identical]: makeString({#x: String#})[#String#];
84+
// COMPLETE_STATIC_MEMBER: Decl[StaticMethod]/CurrNominal/TypeRelation[Convertible]: makeString({#x: String#})[#String#];
8585
// COMPLETE_STATIC_MEMBER: End completions
8686
}
8787

0 commit comments

Comments
 (0)