Skip to content

Commit 26f5385

Browse files
committed
Tests: Clarify test cases in lazy_typecheck_errors.swift.
NFC.
1 parent 9ad7461 commit 26f5385

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/SILGen/lazy_typecheck_errors.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ public protocol Proto {
77
func req()
88
}
99

10-
public struct ConformsToProtoMissingRequirement: Proto {
11-
// expected-error@-1 {{type 'ConformsToProtoMissingRequirement' does not conform to protocol 'Proto'}}
10+
public struct ConformsToProto_MissingRequirement: Proto {
11+
// expected-error@-1 {{type 'ConformsToProto_MissingRequirement' does not conform to protocol 'Proto'}}
1212
}
1313

14-
public struct ConformsToProtoNearMiss: Proto {
15-
// expected-error@-1 {{type 'ConformsToProtoNearMiss' does not conform to protocol 'Proto'}}
14+
public struct ConformsToProto_NearMiss: Proto {
15+
// expected-error@-1 {{type 'ConformsToProto_NearMiss' does not conform to protocol 'Proto'}}
1616

1717
public func req(x: Int) {}
1818
}
@@ -21,8 +21,8 @@ public protocol ProtoWithAssociatedType {
2121
associatedtype A
2222
}
2323

24-
public struct ConformsToProtoProtoWithAssociatedType: ProtoWithAssociatedType {
25-
// expected-error@-1 {{type 'ConformsToProtoProtoWithAssociatedType' does not conform to protocol 'ProtoWithAssociatedType'}}
24+
public struct ConformsToProtoWithAssociatedType_MissingTypeRequirement: ProtoWithAssociatedType {
25+
// expected-error@-1 {{type 'ConformsToProtoWithAssociatedType_MissingTypeRequirement' does not conform to protocol 'ProtoWithAssociatedType'}}
2626
}
2727

2828
public struct GenericStruct<T> {

0 commit comments

Comments
 (0)