Skip to content

Commit d173559

Browse files
committed
Parse: Fudge a test case to work around non-deterministic behavior (rdar://56002633)
1 parent 204276c commit d173559

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/Parse/confusables.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,7 @@ if (true ꝸꝸꝸ false) {} // expected-note {{identifier 'ꝸꝸꝸ' contains
1919
// expected-error @+2 {{expected ',' separator}}
2020
// expected-error @+1 {{type '(Int, Int)' cannot conform to 'BinaryInteger'; only struct/enum/class types can conform to protocols}}
2121
if (55) == 0 {} // expected-note {{unicode character '‒' looks similar to '-'; did you mean to use '-'?}} {{7-10=-}}
22-
// expected-note @-1 {{required by referencing operator function '==' on 'BinaryInteger' where 'Self' = '(Int, Int)'}}
22+
// expected-note @-1 {{required by referencing operator function '==' on 'BinaryInteger' where}}
23+
24+
// FIXME: rdar://56002633
25+
// Above note should read "required by referencing operator function '==' on 'BinaryInteger' where 'Self' = '(Int, Int)'"

0 commit comments

Comments
 (0)