File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
test/SymbolGraph/Relationships/Synthesized Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -42,10 +42,9 @@ public struct S<T> {
42
42
}
43
43
}
44
44
45
- // CONFORMS: "kind": "conformsTo"
46
- // CONFORMS-NEXT: "source": "s:22ConditionalConformance1SV"
47
- // CONFORMS-NEXT: "target": "s:22ConditionalConformance1PP"
48
- // CONFORMS-NEXT: swiftConstraints
45
+ // S<Int> will also have synthesized conformances to Copyable and Escapable, so match multiple lines
46
+ // at once to make sure we only find the conformance we want to see
47
+ // CONFORMS: "kind": "conformsTo"{{.*[[:space:]].*}} "source": "s:22ConditionalConformance1SV"{{.*[[:space:]].*}} "target": "s:22ConditionalConformance1PP"{{.*[[:space:]].*}} "swiftConstraints"
49
48
// CONFORMS: "kind": "sameType"
50
49
// CONFORMS-NEXT: "lhs": "T"
51
50
// CONFORMS-NEXT: "rhs": "Int"
You can’t perform that action at this time.
0 commit comments