Skip to content

Commit 88af7bf

Browse files
authored
[test] Adjust a test case to work around non-determinism (#30713)
[test] Adjust a test case to work around non-determinism
2 parents ee3e694 + 9a80e2c commit 88af7bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/Parse/confusables.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,6 @@ 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 {{operator function '=='}}
2323

24+
// FIXME(rdar://61028087): The above note should read "required by referencing operator function '==' on 'BinaryInteger' where 'Self' = '(Int, Int)'".

0 commit comments

Comments
 (0)