@@ -64,6 +64,9 @@ final class MultilineErrorsTests: XCTestCase {
64
64
diagnostics: [
65
65
DiagnosticSpec (
66
66
message: " insufficient indentation of line in multi-line string literal " ,
67
+ highlight: """
68
+
69
+ """ ,
67
70
notes: [ NoteSpec ( message: " should match indentation here " ) ] ,
68
71
fixIts: [ " change indentation of this line to match closing delimiter " ]
69
72
)
@@ -89,6 +92,9 @@ final class MultilineErrorsTests: XCTestCase {
89
92
diagnostics: [
90
93
DiagnosticSpec (
91
94
message: " insufficient indentation of line in multi-line string literal " ,
95
+ highlight: """
96
+
97
+ """ ,
92
98
notes: [ NoteSpec ( message: " should match indentation here " ) ] ,
93
99
fixIts: [ " change indentation of this line to match closing delimiter " ]
94
100
)
@@ -114,6 +120,9 @@ final class MultilineErrorsTests: XCTestCase {
114
120
diagnostics: [
115
121
DiagnosticSpec (
116
122
message: " insufficient indentation of line in multi-line string literal " ,
123
+ highlight: """
124
+
125
+ """ ,
117
126
notes: [ NoteSpec ( message: " should match indentation here " ) ] ,
118
127
fixIts: [ " change indentation of this line to match closing delimiter " ]
119
128
)
@@ -138,6 +147,9 @@ final class MultilineErrorsTests: XCTestCase {
138
147
diagnostics: [
139
148
DiagnosticSpec (
140
149
message: " insufficient indentation of line in multi-line string literal " ,
150
+ highlight: """
151
+
152
+ """ ,
141
153
notes: [ NoteSpec ( message: " should match indentation here " ) ] ,
142
154
fixIts: [ " change indentation of this line to match closing delimiter " ]
143
155
)
@@ -162,6 +174,9 @@ final class MultilineErrorsTests: XCTestCase {
162
174
diagnostics: [
163
175
DiagnosticSpec (
164
176
message: " insufficient indentation of line in multi-line string literal " ,
177
+ highlight: """
178
+
179
+ """ ,
165
180
notes: [ NoteSpec ( message: " should match indentation here " ) ] ,
166
181
fixIts: [ " change indentation of this line to match closing delimiter " ]
167
182
)
@@ -187,6 +202,9 @@ final class MultilineErrorsTests: XCTestCase {
187
202
diagnostics: [
188
203
DiagnosticSpec (
189
204
message: " insufficient indentation of line in multi-line string literal " ,
205
+ highlight: """
206
+
207
+ """ ,
190
208
notes: [ NoteSpec ( message: " should match indentation here " ) ] ,
191
209
fixIts: [ " change indentation of this line to match closing delimiter " ]
192
210
)
@@ -213,6 +231,9 @@ final class MultilineErrorsTests: XCTestCase {
213
231
diagnostics: [
214
232
DiagnosticSpec (
215
233
message: " unexpected tab in indentation of line in multi-line string literal " ,
234
+ highlight: """
235
+
236
+ """ ,
216
237
notes: [ NoteSpec ( message: " should match indentation here " ) ] ,
217
238
fixIts: [ " change indentation of this line to match closing delimiter " ]
218
239
)
@@ -238,6 +259,9 @@ final class MultilineErrorsTests: XCTestCase {
238
259
diagnostics: [
239
260
DiagnosticSpec (
240
261
message: " unexpected tab in indentation of line in multi-line string literal " ,
262
+ highlight: """
263
+
264
+ """ ,
241
265
notes: [ NoteSpec ( message: " should match indentation here " ) ] ,
242
266
fixIts: [ " change indentation of this line to match closing delimiter " ]
243
267
)
@@ -263,6 +287,9 @@ final class MultilineErrorsTests: XCTestCase {
263
287
diagnostics: [
264
288
DiagnosticSpec (
265
289
message: " unexpected space in indentation of line in multi-line string literal " ,
290
+ highlight: """
291
+
292
+ """ ,
266
293
notes: [ NoteSpec ( message: " should match indentation here " ) ] ,
267
294
fixIts: [ " change indentation of this line to match closing delimiter " ]
268
295
)
@@ -288,6 +315,9 @@ final class MultilineErrorsTests: XCTestCase {
288
315
diagnostics: [
289
316
DiagnosticSpec (
290
317
message: " unexpected space in indentation of line in multi-line string literal " ,
318
+ highlight: """
319
+
320
+ """ ,
291
321
notes: [ NoteSpec ( message: " should match indentation here " ) ] ,
292
322
fixIts: [ " change indentation of this line to match closing delimiter " ]
293
323
)
@@ -381,6 +411,9 @@ final class MultilineErrorsTests: XCTestCase {
381
411
diagnostics: [
382
412
DiagnosticSpec (
383
413
message: " unexpected space in indentation of the next 2 lines in multi-line string literal " ,
414
+ highlight: """
415
+
416
+ """ ,
384
417
notes: [ NoteSpec ( message: " should match indentation here " ) ] ,
385
418
fixIts: [ " change indentation of this line to match closing delimiter " ]
386
419
)
@@ -416,18 +449,27 @@ final class MultilineErrorsTests: XCTestCase {
416
449
DiagnosticSpec (
417
450
locationMarker: " 1️⃣ " ,
418
451
message: " insufficient indentation of the next 4 lines in multi-line string literal " ,
452
+ highlight: """
453
+
454
+ """ ,
419
455
notes: [ NoteSpec ( message: " should match indentation here " ) ] ,
420
456
fixIts: [ " change indentation of this line to match closing delimiter " ]
421
457
) ,
422
458
DiagnosticSpec (
423
459
locationMarker: " 2️⃣ " ,
424
460
message: " unexpected space in indentation of the next 2 lines in multi-line string literal " ,
461
+ highlight: """
462
+
463
+ """ ,
425
464
notes: [ NoteSpec ( message: " should match indentation here " ) ] ,
426
465
fixIts: [ " change indentation of this line to match closing delimiter " ]
427
466
) ,
428
467
DiagnosticSpec (
429
468
locationMarker: " 3️⃣ " ,
430
469
message: " insufficient indentation of the next 2 lines in multi-line string literal " ,
470
+ highlight: """
471
+
472
+ """ ,
431
473
notes: [ NoteSpec ( message: " should match indentation here " ) ] ,
432
474
fixIts: [ " change indentation of this line to match closing delimiter " ]
433
475
) ,
@@ -463,6 +505,9 @@ final class MultilineErrorsTests: XCTestCase {
463
505
diagnostics: [
464
506
DiagnosticSpec (
465
507
message: " insufficient indentation of the next 2 lines in multi-line string literal " ,
508
+ highlight: """
509
+
510
+ """ ,
466
511
notes: [ NoteSpec ( message: " should match indentation here " ) ] ,
467
512
fixIts: [ " change indentation of this line to match closing delimiter " ]
468
513
)
@@ -490,12 +535,18 @@ final class MultilineErrorsTests: XCTestCase {
490
535
DiagnosticSpec (
491
536
locationMarker: " 1️⃣ " ,
492
537
message: " insufficient indentation of line in multi-line string literal " ,
538
+ highlight: """
539
+
540
+ """ ,
493
541
notes: [ NoteSpec ( message: " should match indentation here " ) ] ,
494
542
fixIts: [ " change indentation of this line to match closing delimiter " ]
495
543
) ,
496
544
DiagnosticSpec (
497
545
locationMarker: " 2️⃣ " ,
498
546
message: " insufficient indentation of line in multi-line string literal " ,
547
+ highlight: """
548
+
549
+ """ ,
499
550
notes: [ NoteSpec ( message: " should match indentation here " ) ] ,
500
551
fixIts: [ " change indentation of this line to match closing delimiter " ]
501
552
) ,
@@ -854,6 +905,9 @@ final class MultilineErrorsTests: XCTestCase {
854
905
diagnostics: [
855
906
DiagnosticSpec (
856
907
message: " insufficient indentation of line in multi-line string literal " ,
908
+ highlight: """
909
+
910
+ """ ,
857
911
notes: [ NoteSpec ( message: " should match indentation here " ) ] ,
858
912
fixIts: [ " change indentation of this line to match closing delimiter " ]
859
913
)
@@ -881,12 +935,18 @@ final class MultilineErrorsTests: XCTestCase {
881
935
DiagnosticSpec (
882
936
locationMarker: " 1️⃣ " ,
883
937
message: " insufficient indentation of line in multi-line string literal " ,
938
+ highlight: """
939
+
940
+ """ ,
884
941
notes: [ NoteSpec ( message: " should match indentation here " ) ] ,
885
942
fixIts: [ " change indentation of this line to match closing delimiter " ]
886
943
) ,
887
944
DiagnosticSpec (
888
945
locationMarker: " 2️⃣ " ,
889
946
message: " insufficient indentation of line in multi-line string literal " ,
947
+ highlight: """
948
+
949
+ """ ,
890
950
notes: [ NoteSpec ( message: " should match indentation here " ) ] ,
891
951
fixIts: [ " change indentation of this line to match closing delimiter " ]
892
952
) ,
@@ -915,6 +975,9 @@ final class MultilineErrorsTests: XCTestCase {
915
975
diagnostics: [
916
976
DiagnosticSpec (
917
977
message: " insufficient indentation of the next 3 lines in multi-line string literal " ,
978
+ highlight: """
979
+
980
+ """ ,
918
981
notes: [ NoteSpec ( message: " should match indentation here " ) ] ,
919
982
fixIts: [ " change indentation of this line to match closing delimiter " ]
920
983
)
0 commit comments