Skip to content

Commit 5e339c5

Browse files
authored
Merge pull request swiftlang#229 from theblixguy/patch-1
Update parser-diags.swift test
2 parents 16b6ec1 + dfa1042 commit 5e339c5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lit_tests/parser-diags.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ let number⁚ Int
88
// CHECK-NEXT: [[@LINE+2]]:3 error: invalid character in source file
99
// CHECK-NEXT: Fixit: ([[@LINE+1]]:3,[[@LINE+1]]:6) Text: " "
1010
55
11-
// CHECK-NEXT: [[@LINE-1]]:3 [[@LINE-1]]:3 note: unicode character '‒' looks similar to '-'; did you mean to use '-'?
11+
// CHECK-NEXT: [[@LINE-1]]:3 [[@LINE-1]]:3 note: unicode character '‒' (Figure Dash) looks similar to '-' (Hyphen Minus); did you mean to use '-' (Hyphen Minus)?
1212
// CHECK-NEXT: Fixit: ([[@LINE-2]]:3,[[@LINE-2]]:6) Text: "-"
1313
// CHECK-NEXT: [[@LINE-3]]:2 error: consecutive statements on a line must be separated by ';'
1414
// CHECK-NEXT: Fixit: ([[@LINE-4]]:2,[[@LINE-4]]:2) Text: ";"
@@ -20,8 +20,8 @@ if (true ꝸꝸꝸ false) {}
2020
if (55) == 0 {}
2121
// CHECK-NEXT: [[@LINE-1]]:7 error: invalid character in source file
2222
// CHECK-NEXT: Fixit: ([[@LINE-2]]:7,[[@LINE-2]]:10) Text: " "
23-
// CHECK-NEXT: [[@LINE-3]]:7 [[@LINE-3]]:7 note: unicode character '‒' looks similar to '-'; did you mean to use '-'?
23+
// CHECK-NEXT: [[@LINE-3]]:7 [[@LINE-3]]:7 note: unicode character '‒' (Figure Dash) looks similar to '-' (Hyphen Minus); did you mean to use '-' (Hyphen Minus)?
2424
// CHECK-NEXT: Fixit: ([[@LINE-4]]:7,[[@LINE-4]]:10) Text: "-"
2525
// CHECK-NEXT: [[@LINE-5]]:11 error: expected ',' separator
2626
// CHECK-NEXT: Fixit: ([[@LINE-6]]:6,[[@LINE-6]]:6) Text: ","
27-
// CHECK-NEXT: 7 error(s) 0 warnings(s) 2 note(s)
27+
// CHECK-NEXT: 7 error(s) 0 warnings(s) 2 note(s)

0 commit comments

Comments
 (0)