Skip to content

Commit 90fb57e

Browse files
committed
Fix test case
1 parent bd9d1a3 commit 90fb57e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/decl/protocol/req/missing_conformance.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ struct CountSteps1<T> : Collection {
145145
}
146146

147147
extension CountSteps1 // expected-error {{type 'CountSteps1<T>' does not conform to protocol 'BidirectionalCollection'}}
148-
// expected-error@+3 {{conditional conformance of type 'CountSteps1<T>' to protocol 'RandomAccessCollection' does not imply conformance to inherited protocol 'BidirectionalCollection'}}
149-
// expected-note@+2 {{did you mean to explicitly state the conformance like 'extension CountSteps1: BidirectionalCollection where ...'?}}
148+
// expected-error@-1 {{conditional conformance of type 'CountSteps1<T>' to protocol 'RandomAccessCollection' does not imply conformance to inherited protocol 'BidirectionalCollection'}}
149+
// expected-note@-2 {{did you mean to explicitly state the conformance like 'extension CountSteps1: BidirectionalCollection where ...'?}}
150150
// expected-error@+1 {{type 'CountSteps1<T>' does not conform to protocol 'RandomAccessCollection'}}
151151
: RandomAccessCollection
152152
where T : Equatable

0 commit comments

Comments
 (0)