Skip to content

Commit 5be4975

Browse files
Suyash SrijanSuyash Srijan
authored andcommitted
[test] update tests
1 parent 50bcd32 commit 5be4975

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/Constraints/generics.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -644,5 +644,4 @@ struct SR_7984<Bar> {
644644
func doSomething() {}
645645
}
646646

647-
extension SR_7984 where Bar: String {} // expected-error {{type 'Bar' constrained to non-protocol, non-class type 'String'}}
648-
// expected-note {{use 'Bar == String' to require 'Bar' to be 'String'}} {{28-29= == }}
647+
extension SR_7984 where Bar: String {} // expected-error {{type 'Bar' constrained to non-protocol, non-class type 'String'}} expected-note {{use 'Bar == String' to require 'Bar' to be 'String'}} {{28-29= ==}}

0 commit comments

Comments
 (0)