@tabnas/lsp 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2888 @@
1
+ {
2
+ "generated": "tools/gen-fixtures.js",
3
+ "count": 262,
4
+ "fixtures": [
5
+ {
6
+ "languageId": "abnf",
7
+ "file": "alignment-abnf-errors.tsv",
8
+ "row": 2,
9
+ "input": "x = <foo>",
10
+ "expect": {
11
+ "codes": [
12
+ "abnf"
13
+ ]
14
+ }
15
+ },
16
+ {
17
+ "languageId": "abnf",
18
+ "file": "alignment-abnf-errors.tsv",
19
+ "row": 3,
20
+ "input": "y = \"a\" <foo>",
21
+ "expect": {
22
+ "codes": [
23
+ "abnf"
24
+ ]
25
+ }
26
+ },
27
+ {
28
+ "languageId": "abnf",
29
+ "file": "alignment-abnf-errors.tsv",
30
+ "row": 4,
31
+ "input": "y = ( <foo> / \"a\" )",
32
+ "expect": {
33
+ "codes": [
34
+ "abnf"
35
+ ]
36
+ }
37
+ },
38
+ {
39
+ "languageId": "abnf",
40
+ "file": "alignment-abnf-errors.tsv",
41
+ "row": 5,
42
+ "input": "y = *<foo>",
43
+ "expect": {
44
+ "codes": [
45
+ "abnf"
46
+ ]
47
+ }
48
+ },
49
+ {
50
+ "languageId": "abnf",
51
+ "file": "alignment-abnf-errors.tsv",
52
+ "row": 6,
53
+ "input": "NR = <number>",
54
+ "expect": {
55
+ "codes": [
56
+ "abnf"
57
+ ]
58
+ }
59
+ },
60
+ {
61
+ "languageId": "abnf",
62
+ "file": "alignment-abnf-errors.tsv",
63
+ "row": 7,
64
+ "input": "top = NR\n<everything> = <remove>",
65
+ "expect": {
66
+ "codes": [
67
+ "abnf"
68
+ ]
69
+ }
70
+ },
71
+ {
72
+ "languageId": "abnf",
73
+ "file": "alignment-abnf-errors.tsv",
74
+ "row": 8,
75
+ "input": "top = NR\n<all> = \"x\"",
76
+ "expect": {
77
+ "codes": [
78
+ "abnf"
79
+ ]
80
+ }
81
+ },
82
+ {
83
+ "languageId": "abnf",
84
+ "file": "alignment-abnf-errors.tsv",
85
+ "row": 9,
86
+ "input": "g = %x110000",
87
+ "expect": {
88
+ "codes": [
89
+ "abnf"
90
+ ]
91
+ }
92
+ },
93
+ {
94
+ "languageId": "abnf",
95
+ "file": "alignment-abnf-errors.tsv",
96
+ "row": 10,
97
+ "input": "g = %d555864801982",
98
+ "expect": {
99
+ "codes": [
100
+ "abnf"
101
+ ]
102
+ }
103
+ },
104
+ {
105
+ "languageId": "chess",
106
+ "file": "comments.tsv",
107
+ "row": 51,
108
+ "input": "1. e4 {never closed",
109
+ "expect": {
110
+ "codes": [
111
+ "unterminated_comment"
112
+ ]
113
+ }
114
+ },
115
+ {
116
+ "languageId": "chess",
117
+ "file": "errors.tsv",
118
+ "row": 35,
119
+ "input": "1. e4 {unterminated *",
120
+ "expect": {
121
+ "codes": [
122
+ "this"
123
+ ]
124
+ }
125
+ },
126
+ {
127
+ "languageId": "chess",
128
+ "file": "errors.tsv",
129
+ "row": 52,
130
+ "input": "1. e4 zz *",
131
+ "expect": {
132
+ "codes": [
133
+ "not"
134
+ ]
135
+ }
136
+ },
137
+ {
138
+ "languageId": "chess",
139
+ "file": "errors.tsv",
140
+ "row": 53,
141
+ "input": "1. Ke9 *",
142
+ "expect": {
143
+ "codes": [
144
+ "not"
145
+ ]
146
+ }
147
+ },
148
+ {
149
+ "languageId": "chess",
150
+ "file": "errors.tsv",
151
+ "row": 54,
152
+ "input": "[Event \"x\n\n1. e4 *",
153
+ "expect": {
154
+ "codes": [
155
+ "a"
156
+ ]
157
+ }
158
+ },
159
+ {
160
+ "languageId": "css",
161
+ "file": "reworkcss.tsv",
162
+ "row": 20,
163
+ "input": "/*",
164
+ "expect": {
165
+ "codes": [
166
+ "unterminated_comment"
167
+ ]
168
+ }
169
+ },
170
+ {
171
+ "languageId": "css",
172
+ "file": "reworkcss.tsv",
173
+ "row": 21,
174
+ "input": "thing { color: red; } /* b { color: blue; }",
175
+ "expect": {
176
+ "codes": [
177
+ "unterminated_comment"
178
+ ]
179
+ }
180
+ },
181
+ {
182
+ "languageId": "csv",
183
+ "file": "double-quote.tsv",
184
+ "row": 12,
185
+ "input": "a\n\"",
186
+ "expect": {
187
+ "codes": [
188
+ "unterminated_string"
189
+ ]
190
+ }
191
+ },
192
+ {
193
+ "languageId": "csv",
194
+ "file": "double-quote.tsv",
195
+ "row": 13,
196
+ "input": "a\n\"\"\"",
197
+ "expect": {
198
+ "codes": [
199
+ "unterminated_string"
200
+ ]
201
+ }
202
+ },
203
+ {
204
+ "languageId": "csv",
205
+ "file": "double-quote.tsv",
206
+ "row": 14,
207
+ "input": "a\n\"\"\"\"\"",
208
+ "expect": {
209
+ "codes": [
210
+ "unterminated_string"
211
+ ]
212
+ }
213
+ },
214
+ {
215
+ "languageId": "csv",
216
+ "file": "double-quote.tsv",
217
+ "row": 15,
218
+ "input": "a\n\"\"\"\"\"\"\"",
219
+ "expect": {
220
+ "codes": [
221
+ "unterminated_string"
222
+ ]
223
+ }
224
+ },
225
+ {
226
+ "languageId": "csv",
227
+ "file": "double-quote.tsv",
228
+ "row": 16,
229
+ "input": "a\n\"b",
230
+ "expect": {
231
+ "codes": [
232
+ "unterminated_string"
233
+ ]
234
+ }
235
+ },
236
+ {
237
+ "languageId": "csv",
238
+ "file": "double-quote.tsv",
239
+ "row": 17,
240
+ "input": "a\n\"b\"\"",
241
+ "expect": {
242
+ "codes": [
243
+ "unterminated_string"
244
+ ]
245
+ }
246
+ },
247
+ {
248
+ "languageId": "csv",
249
+ "file": "double-quote.tsv",
250
+ "row": 18,
251
+ "input": "a\n\"b\"\"c",
252
+ "expect": {
253
+ "codes": [
254
+ "unterminated_string"
255
+ ]
256
+ }
257
+ },
258
+ {
259
+ "languageId": "csv",
260
+ "file": "field-exact.tsv",
261
+ "row": 8,
262
+ "input": "a,b\n1,2,3",
263
+ "expect": {
264
+ "codes": [
265
+ "csv_extra_field"
266
+ ]
267
+ }
268
+ },
269
+ {
270
+ "languageId": "csv",
271
+ "file": "field-exact.tsv",
272
+ "row": 9,
273
+ "input": "a,b,c\n1,2",
274
+ "expect": {
275
+ "codes": [
276
+ "csv_missing_field"
277
+ ]
278
+ }
279
+ },
280
+ {
281
+ "languageId": "csv",
282
+ "file": "field-exact.tsv",
283
+ "row": 11,
284
+ "input": "a,b\n1,2,3",
285
+ "expect": {
286
+ "codes": [
287
+ "csv_extra_field"
288
+ ]
289
+ }
290
+ },
291
+ {
292
+ "languageId": "csv",
293
+ "file": "field-exact.tsv",
294
+ "row": 12,
295
+ "input": "a,b,c\n1,2",
296
+ "expect": {
297
+ "codes": [
298
+ "csv_missing_field"
299
+ ]
300
+ }
301
+ },
302
+ {
303
+ "languageId": "csv",
304
+ "file": "field-exact.tsv",
305
+ "row": 14,
306
+ "input": "1,2,3",
307
+ "expect": {
308
+ "codes": [
309
+ "csv_extra_field"
310
+ ]
311
+ }
312
+ },
313
+ {
314
+ "languageId": "csv",
315
+ "file": "field-exact.tsv",
316
+ "row": 16,
317
+ "input": "1,2,3",
318
+ "expect": {
319
+ "codes": [
320
+ "csv_extra_field"
321
+ ]
322
+ }
323
+ },
324
+ {
325
+ "languageId": "csv",
326
+ "file": "unstrict.tsv",
327
+ "row": 3,
328
+ "input": "a\n{x:1}y",
329
+ "expect": {
330
+ "codes": [
331
+ "unexpected"
332
+ ]
333
+ }
334
+ },
335
+ {
336
+ "languageId": "directive",
337
+ "file": "close-boundary.tsv",
338
+ "row": 23,
339
+ "input": "[1>",
340
+ "expect": {
341
+ "codes": [
342
+ "unexpected"
343
+ ]
344
+ }
345
+ },
346
+ {
347
+ "languageId": "directive",
348
+ "file": "close-boundary.tsv",
349
+ "row": 24,
350
+ "input": "{x:1>",
351
+ "expect": {
352
+ "codes": [
353
+ "unexpected"
354
+ ]
355
+ }
356
+ },
357
+ {
358
+ "languageId": "directive",
359
+ "file": "close-foo.tsv",
360
+ "row": 30,
361
+ "input": ">",
362
+ "expect": {
363
+ "codes": [
364
+ "unexpected"
365
+ ]
366
+ }
367
+ },
368
+ {
369
+ "languageId": "directive",
370
+ "file": "close-foo.tsv",
371
+ "row": 31,
372
+ "input": "{x:>}",
373
+ "expect": {
374
+ "codes": [
375
+ "unexpected"
376
+ ]
377
+ }
378
+ },
379
+ {
380
+ "languageId": "directive",
381
+ "file": "happy.tsv",
382
+ "row": 40,
383
+ "input": "@",
384
+ "expect": {
385
+ "codes": [
386
+ "unexpected"
387
+ ]
388
+ }
389
+ },
390
+ {
391
+ "languageId": "directive",
392
+ "file": "happy.tsv",
393
+ "row": 41,
394
+ "input": "[@]",
395
+ "expect": {
396
+ "codes": [
397
+ "unexpected"
398
+ ]
399
+ }
400
+ },
401
+ {
402
+ "languageId": "feed",
403
+ "file": "errors.tsv",
404
+ "row": 2,
405
+ "input": "<not-a-feed/>",
406
+ "expect": {
407
+ "codes": [
408
+ "unrecognized"
409
+ ]
410
+ }
411
+ },
412
+ {
413
+ "languageId": "feed",
414
+ "file": "errors.tsv",
415
+ "row": 3,
416
+ "input": "<html><body/></html>",
417
+ "expect": {
418
+ "codes": [
419
+ "unrecognized"
420
+ ]
421
+ }
422
+ },
423
+ {
424
+ "languageId": "feed",
425
+ "file": "errors.tsv",
426
+ "row": 4,
427
+ "input": "<kml xmlns=\"http://www.opengis.net/kml/2.2\"/>",
428
+ "expect": {
429
+ "codes": [
430
+ "unrecognized"
431
+ ]
432
+ }
433
+ },
434
+ {
435
+ "languageId": "feed",
436
+ "file": "errors.tsv",
437
+ "row": 5,
438
+ "input": "<Channel xmlns=\"http://purl.org/net/rss1.1#\"/>",
439
+ "expect": {
440
+ "codes": [
441
+ "unrecognized"
442
+ ]
443
+ }
444
+ },
445
+ {
446
+ "languageId": "feed",
447
+ "file": "errors.tsv",
448
+ "row": 6,
449
+ "input": "<opml version=\"2.0\"><body/></opml>",
450
+ "expect": {
451
+ "codes": [
452
+ "unrecognized"
453
+ ]
454
+ }
455
+ },
456
+ {
457
+ "languageId": "feed",
458
+ "file": "errors.tsv",
459
+ "row": 7,
460
+ "input": "<OpenSearchDescription xmlns=\"http://a9.com/-/spec/opensearch/1.1/\"/>",
461
+ "expect": {
462
+ "codes": [
463
+ "unrecognized"
464
+ ]
465
+ }
466
+ },
467
+ {
468
+ "languageId": "feed",
469
+ "file": "errors.tsv",
470
+ "row": 8,
471
+ "input": "<FEED/>",
472
+ "expect": {
473
+ "codes": [
474
+ "unrecognized"
475
+ ]
476
+ }
477
+ },
478
+ {
479
+ "languageId": "feed",
480
+ "file": "errors.tsv",
481
+ "row": 9,
482
+ "input": "<entry xmlns=\"http://www.w3.org/2005/Atom\"><title>x</title></entry>",
483
+ "expect": {
484
+ "codes": [
485
+ "unrecognized"
486
+ ]
487
+ }
488
+ },
489
+ {
490
+ "languageId": "feed",
491
+ "file": "leniency.tsv",
492
+ "row": 22,
493
+ "input": "<feed xmlns=\"http://www.w3.org/2005/Atom\"><title>x</title></feed> trailing",
494
+ "expect": {
495
+ "codes": [
496
+ "character"
497
+ ]
498
+ }
499
+ },
500
+ {
501
+ "languageId": "feed",
502
+ "file": "leniency.tsv",
503
+ "row": 23,
504
+ "input": "<rss version=\"2.0\"><channel/></rss>garbage",
505
+ "expect": {
506
+ "codes": [
507
+ "character"
508
+ ]
509
+ }
510
+ },
511
+ {
512
+ "languageId": "feed",
513
+ "file": "leniency.tsv",
514
+ "row": 24,
515
+ "input": "<feed xmlns=\"http://www.w3.org/2005/Atom\"/>}",
516
+ "expect": {
517
+ "codes": [
518
+ "character"
519
+ ]
520
+ }
521
+ },
522
+ {
523
+ "languageId": "feed",
524
+ "file": "leniency.tsv",
525
+ "row": 25,
526
+ "input": "<feed xmlns=\"http://www.w3.org/2005/Atom\"/>,",
527
+ "expect": {
528
+ "codes": [
529
+ "character"
530
+ ]
531
+ }
532
+ },
533
+ {
534
+ "languageId": "feed",
535
+ "file": "leniency.tsv",
536
+ "row": 29,
537
+ "input": "# c\n<feed xmlns=\"http://www.w3.org/2005/Atom\"/>",
538
+ "expect": {
539
+ "codes": [
540
+ "character"
541
+ ]
542
+ }
543
+ },
544
+ {
545
+ "languageId": "feed",
546
+ "file": "leniency.tsv",
547
+ "row": 30,
548
+ "input": "// c\n<feed xmlns=\"http://www.w3.org/2005/Atom\"/>",
549
+ "expect": {
550
+ "codes": [
551
+ "character"
552
+ ]
553
+ }
554
+ },
555
+ {
556
+ "languageId": "feed",
557
+ "file": "leniency.tsv",
558
+ "row": 31,
559
+ "input": "/* c */<feed xmlns=\"http://www.w3.org/2005/Atom\"/>",
560
+ "expect": {
561
+ "codes": [
562
+ "character"
563
+ ]
564
+ }
565
+ },
566
+ {
567
+ "languageId": "feed",
568
+ "file": "leniency.tsv",
569
+ "row": 34,
570
+ "input": "<feed xmlns=\"http://www.w3.org/2005/Atom\"/>// x",
571
+ "expect": {
572
+ "codes": [
573
+ "character"
574
+ ]
575
+ }
576
+ },
577
+ {
578
+ "languageId": "feed",
579
+ "file": "leniency.tsv",
580
+ "row": 35,
581
+ "input": "<feed xmlns=\"http://www.w3.org/2005/Atom\"/>\n# x",
582
+ "expect": {
583
+ "codes": [
584
+ "character"
585
+ ]
586
+ }
587
+ },
588
+ {
589
+ "languageId": "feed",
590
+ "file": "nonxml.tsv",
591
+ "row": 12,
592
+ "input": "{a:1}",
593
+ "expect": {
594
+ "codes": [
595
+ "character"
596
+ ]
597
+ }
598
+ },
599
+ {
600
+ "languageId": "feed",
601
+ "file": "nonxml.tsv",
602
+ "row": 13,
603
+ "input": "{\"a\":1}",
604
+ "expect": {
605
+ "codes": [
606
+ "character"
607
+ ]
608
+ }
609
+ },
610
+ {
611
+ "languageId": "feed",
612
+ "file": "nonxml.tsv",
613
+ "row": 14,
614
+ "input": "[1,2,3]",
615
+ "expect": {
616
+ "codes": [
617
+ "character"
618
+ ]
619
+ }
620
+ },
621
+ {
622
+ "languageId": "feed",
623
+ "file": "nonxml.tsv",
624
+ "row": 15,
625
+ "input": "a:1",
626
+ "expect": {
627
+ "codes": [
628
+ "character"
629
+ ]
630
+ }
631
+ },
632
+ {
633
+ "languageId": "feed",
634
+ "file": "nonxml.tsv",
635
+ "row": 16,
636
+ "input": "1",
637
+ "expect": {
638
+ "codes": [
639
+ "character"
640
+ ]
641
+ }
642
+ },
643
+ {
644
+ "languageId": "feed",
645
+ "file": "nonxml.tsv",
646
+ "row": 17,
647
+ "input": "hello",
648
+ "expect": {
649
+ "codes": [
650
+ "character"
651
+ ]
652
+ }
653
+ },
654
+ {
655
+ "languageId": "feed",
656
+ "file": "xml-layer.tsv",
657
+ "row": 18,
658
+ "input": "<feed xmlns=\"http://www.w3.org/2005/Atom\"><dc:language>en</dc:language></feed>",
659
+ "expect": {
660
+ "codes": [
661
+ "element"
662
+ ]
663
+ }
664
+ },
665
+ {
666
+ "languageId": "feed",
667
+ "file": "xml-layer.tsv",
668
+ "row": 21,
669
+ "input": "<feed xmlns=\"http://www.w3.org/2005/Atom\"><title>x</feed></title>",
670
+ "expect": {
671
+ "codes": [
672
+ "closing"
673
+ ]
674
+ }
675
+ },
676
+ {
677
+ "languageId": "feed",
678
+ "file": "xml-layer.tsv",
679
+ "row": 23,
680
+ "input": "<feed xmlns=\"http://www.w3.org/2005/Atom\"><title>a&#X26;b</title></feed>",
681
+ "expect": {
682
+ "codes": [
683
+ "malformed"
684
+ ]
685
+ }
686
+ },
687
+ {
688
+ "languageId": "feed",
689
+ "file": "xml-layer.tsv",
690
+ "row": 25,
691
+ "input": "<feed xmlns=\"http://www.w3.org/2005/Atom\" xmlns:a=\"http://x\ny\"/>",
692
+ "expect": {
693
+ "codes": [
694
+ "namespace"
695
+ ]
696
+ }
697
+ },
698
+ {
699
+ "languageId": "feed",
700
+ "file": "xml-layer.tsv",
701
+ "row": 28,
702
+ "input": "<feed xmlns=\"http://www.w3.org/2005/Atom\"/><extra/>",
703
+ "expect": {
704
+ "codes": [
705
+ "unexpected"
706
+ ]
707
+ }
708
+ },
709
+ {
710
+ "languageId": "feed",
711
+ "file": "xml-layer.tsv",
712
+ "row": 29,
713
+ "input": "<feed xmlns=\"http://www.w3.org/2005/Atom\"/>junk",
714
+ "expect": {
715
+ "codes": [
716
+ "character"
717
+ ]
718
+ }
719
+ },
720
+ {
721
+ "languageId": "hoover",
722
+ "file": "escapes.tsv",
723
+ "row": 11,
724
+ "input": "<a\\\\zb> %",
725
+ "expect": {
726
+ "codes": [
727
+ "1"
728
+ ]
729
+ }
730
+ },
731
+ {
732
+ "languageId": "hoover",
733
+ "file": "escapes.tsv",
734
+ "row": 12,
735
+ "input": "<a\\\\\nb> %",
736
+ "expect": {
737
+ "codes": [
738
+ "2"
739
+ ]
740
+ }
741
+ },
742
+ {
743
+ "languageId": "ini",
744
+ "file": "sections-duplicate-error.tsv",
745
+ "row": 5,
746
+ "input": "[a]\nx=1\n[a]\ny=2",
747
+ "expect": {
748
+ "codes": [
749
+ "duplicate_section"
750
+ ]
751
+ }
752
+ },
753
+ {
754
+ "languageId": "ini",
755
+ "file": "sections-duplicate-error.tsv",
756
+ "row": 6,
757
+ "input": "[a.b]\nx=1\n[a.b]\ny=2",
758
+ "expect": {
759
+ "codes": [
760
+ "duplicate_section"
761
+ ]
762
+ }
763
+ },
764
+ {
765
+ "languageId": "ini",
766
+ "file": "sections-unterminated.tsv",
767
+ "row": 2,
768
+ "input": "[a",
769
+ "expect": {
770
+ "codes": [
771
+ "unterminated_section"
772
+ ]
773
+ }
774
+ },
775
+ {
776
+ "languageId": "ini",
777
+ "file": "sections-unterminated.tsv",
778
+ "row": 3,
779
+ "input": "[a\nb=1",
780
+ "expect": {
781
+ "codes": [
782
+ "unterminated_section"
783
+ ]
784
+ }
785
+ },
786
+ {
787
+ "languageId": "ini",
788
+ "file": "sections-unterminated.tsv",
789
+ "row": 4,
790
+ "input": "[a]\nx=1\n[b\ny=2",
791
+ "expect": {
792
+ "codes": [
793
+ "unterminated_section"
794
+ ]
795
+ }
796
+ },
797
+ {
798
+ "languageId": "ini",
799
+ "file": "sections-unterminated.tsv",
800
+ "row": 5,
801
+ "input": "[a\n[b]\nx=1",
802
+ "expect": {
803
+ "codes": [
804
+ "unterminated_section"
805
+ ]
806
+ }
807
+ },
808
+ {
809
+ "languageId": "ini",
810
+ "file": "sections-unterminated.tsv",
811
+ "row": 6,
812
+ "input": "[a.b\nx=1",
813
+ "expect": {
814
+ "codes": [
815
+ "unterminated_section"
816
+ ]
817
+ }
818
+ },
819
+ {
820
+ "languageId": "json",
821
+ "file": "errors.tsv",
822
+ "row": 2,
823
+ "input": "{",
824
+ "expect": {
825
+ "codes": [
826
+ "unexpected"
827
+ ]
828
+ }
829
+ },
830
+ {
831
+ "languageId": "json",
832
+ "file": "errors.tsv",
833
+ "row": 3,
834
+ "input": "[",
835
+ "expect": {
836
+ "codes": [
837
+ "unexpected"
838
+ ]
839
+ }
840
+ },
841
+ {
842
+ "languageId": "json",
843
+ "file": "errors.tsv",
844
+ "row": 4,
845
+ "input": "{\"a\":1",
846
+ "expect": {
847
+ "codes": [
848
+ "unexpected"
849
+ ]
850
+ }
851
+ },
852
+ {
853
+ "languageId": "json",
854
+ "file": "errors.tsv",
855
+ "row": 5,
856
+ "input": "[1",
857
+ "expect": {
858
+ "codes": [
859
+ "unexpected"
860
+ ]
861
+ }
862
+ },
863
+ {
864
+ "languageId": "json",
865
+ "file": "errors.tsv",
866
+ "row": 6,
867
+ "input": "\"abc",
868
+ "expect": {
869
+ "codes": [
870
+ "unterminated_string"
871
+ ]
872
+ }
873
+ },
874
+ {
875
+ "languageId": "json",
876
+ "file": "errors.tsv",
877
+ "row": 7,
878
+ "input": "{\"a\"}",
879
+ "expect": {
880
+ "codes": [
881
+ "unexpected"
882
+ ]
883
+ }
884
+ },
885
+ {
886
+ "languageId": "json",
887
+ "file": "errors.tsv",
888
+ "row": 8,
889
+ "input": "{\"a\":1,}",
890
+ "expect": {
891
+ "codes": [
892
+ "unexpected"
893
+ ]
894
+ }
895
+ },
896
+ {
897
+ "languageId": "json",
898
+ "file": "errors.tsv",
899
+ "row": 9,
900
+ "input": "{,}",
901
+ "expect": {
902
+ "codes": [
903
+ "unexpected"
904
+ ]
905
+ }
906
+ },
907
+ {
908
+ "languageId": "json",
909
+ "file": "errors.tsv",
910
+ "row": 10,
911
+ "input": "{\"a\":1 \"b\":2}",
912
+ "expect": {
913
+ "codes": [
914
+ "unexpected"
915
+ ]
916
+ }
917
+ },
918
+ {
919
+ "languageId": "json",
920
+ "file": "errors.tsv",
921
+ "row": 11,
922
+ "input": "[1,]",
923
+ "expect": {
924
+ "codes": [
925
+ "unexpected"
926
+ ]
927
+ }
928
+ },
929
+ {
930
+ "languageId": "json",
931
+ "file": "errors.tsv",
932
+ "row": 12,
933
+ "input": "[1 2]",
934
+ "expect": {
935
+ "codes": [
936
+ "unexpected"
937
+ ]
938
+ }
939
+ },
940
+ {
941
+ "languageId": "json",
942
+ "file": "errors.tsv",
943
+ "row": 13,
944
+ "input": "'single'",
945
+ "expect": {
946
+ "codes": [
947
+ "unexpected"
948
+ ]
949
+ }
950
+ },
951
+ {
952
+ "languageId": "json",
953
+ "file": "errors.tsv",
954
+ "row": 14,
955
+ "input": "{a:1}",
956
+ "expect": {
957
+ "codes": [
958
+ "unexpected"
959
+ ]
960
+ }
961
+ },
962
+ {
963
+ "languageId": "json",
964
+ "file": "errors.tsv",
965
+ "row": 15,
966
+ "input": "[1,2,]",
967
+ "expect": {
968
+ "codes": [
969
+ "unexpected"
970
+ ]
971
+ }
972
+ },
973
+ {
974
+ "languageId": "json",
975
+ "file": "errors.tsv",
976
+ "row": 16,
977
+ "input": "1 // note",
978
+ "expect": {
979
+ "codes": [
980
+ "unexpected"
981
+ ]
982
+ }
983
+ },
984
+ {
985
+ "languageId": "json",
986
+ "file": "errors.tsv",
987
+ "row": 17,
988
+ "input": "a:1,b:2",
989
+ "expect": {
990
+ "codes": [
991
+ "unexpected"
992
+ ]
993
+ }
994
+ },
995
+ {
996
+ "languageId": "json",
997
+ "file": "errors.tsv",
998
+ "row": 18,
999
+ "input": "x,y,z",
1000
+ "expect": {
1001
+ "codes": [
1002
+ "unexpected"
1003
+ ]
1004
+ }
1005
+ },
1006
+ {
1007
+ "languageId": "json",
1008
+ "file": "errors.tsv",
1009
+ "row": 19,
1010
+ "input": "1,2",
1011
+ "expect": {
1012
+ "codes": [
1013
+ "unexpected"
1014
+ ]
1015
+ }
1016
+ },
1017
+ {
1018
+ "languageId": "json",
1019
+ "file": "errors.tsv",
1020
+ "row": 20,
1021
+ "input": "0x10",
1022
+ "expect": {
1023
+ "codes": [
1024
+ "unexpected"
1025
+ ]
1026
+ }
1027
+ },
1028
+ {
1029
+ "languageId": "json",
1030
+ "file": "errors.tsv",
1031
+ "row": 21,
1032
+ "input": ".5",
1033
+ "expect": {
1034
+ "codes": [
1035
+ "unexpected"
1036
+ ]
1037
+ }
1038
+ },
1039
+ {
1040
+ "languageId": "json",
1041
+ "file": "errors.tsv",
1042
+ "row": 22,
1043
+ "input": "+1",
1044
+ "expect": {
1045
+ "codes": [
1046
+ "unexpected"
1047
+ ]
1048
+ }
1049
+ },
1050
+ {
1051
+ "languageId": "json",
1052
+ "file": "errors.tsv",
1053
+ "row": 23,
1054
+ "input": "True",
1055
+ "expect": {
1056
+ "codes": [
1057
+ "unexpected"
1058
+ ]
1059
+ }
1060
+ },
1061
+ {
1062
+ "languageId": "json",
1063
+ "file": "errors.tsv",
1064
+ "row": 24,
1065
+ "input": "tru",
1066
+ "expect": {
1067
+ "codes": [
1068
+ "unexpected"
1069
+ ]
1070
+ }
1071
+ },
1072
+ {
1073
+ "languageId": "json",
1074
+ "file": "errors.tsv",
1075
+ "row": 25,
1076
+ "input": "nul",
1077
+ "expect": {
1078
+ "codes": [
1079
+ "unexpected"
1080
+ ]
1081
+ }
1082
+ },
1083
+ {
1084
+ "languageId": "json",
1085
+ "file": "errors.tsv",
1086
+ "row": 26,
1087
+ "input": "1.",
1088
+ "expect": {
1089
+ "codes": [
1090
+ "unexpected"
1091
+ ]
1092
+ }
1093
+ },
1094
+ {
1095
+ "languageId": "json",
1096
+ "file": "errors.tsv",
1097
+ "row": 27,
1098
+ "input": "1e",
1099
+ "expect": {
1100
+ "codes": [
1101
+ "unexpected"
1102
+ ]
1103
+ }
1104
+ },
1105
+ {
1106
+ "languageId": "json",
1107
+ "file": "errors.tsv",
1108
+ "row": 28,
1109
+ "input": "-",
1110
+ "expect": {
1111
+ "codes": [
1112
+ "unexpected"
1113
+ ]
1114
+ }
1115
+ },
1116
+ {
1117
+ "languageId": "json",
1118
+ "file": "errors.tsv",
1119
+ "row": 29,
1120
+ "input": "\"\\\\q\"",
1121
+ "expect": {
1122
+ "codes": [
1123
+ "unexpected"
1124
+ ]
1125
+ }
1126
+ },
1127
+ {
1128
+ "languageId": "json",
1129
+ "file": "errors.tsv",
1130
+ "row": 30,
1131
+ "input": "\"a\\\\zb\"",
1132
+ "expect": {
1133
+ "codes": [
1134
+ "unexpected"
1135
+ ]
1136
+ }
1137
+ },
1138
+ {
1139
+ "languageId": "json",
1140
+ "file": "errors.tsv",
1141
+ "row": 31,
1142
+ "input": "\"\\\\v\"",
1143
+ "expect": {
1144
+ "codes": [
1145
+ "unexpected"
1146
+ ]
1147
+ }
1148
+ },
1149
+ {
1150
+ "languageId": "json",
1151
+ "file": "errors.tsv",
1152
+ "row": 32,
1153
+ "input": "\"\\\\x41\"",
1154
+ "expect": {
1155
+ "codes": [
1156
+ "unexpected"
1157
+ ]
1158
+ }
1159
+ },
1160
+ {
1161
+ "languageId": "json",
1162
+ "file": "errors.tsv",
1163
+ "row": 33,
1164
+ "input": "\"\\\\`\"",
1165
+ "expect": {
1166
+ "codes": [
1167
+ "unexpected"
1168
+ ]
1169
+ }
1170
+ },
1171
+ {
1172
+ "languageId": "json",
1173
+ "file": "errors.tsv",
1174
+ "row": 34,
1175
+ "input": "\"\\\\u{41}\"",
1176
+ "expect": {
1177
+ "codes": [
1178
+ "invalid_unicode"
1179
+ ]
1180
+ }
1181
+ },
1182
+ {
1183
+ "languageId": "json",
1184
+ "file": "errors.tsv",
1185
+ "row": 35,
1186
+ "input": "\"\\\\uZ\"",
1187
+ "expect": {
1188
+ "codes": [
1189
+ "invalid_unicode"
1190
+ ]
1191
+ }
1192
+ },
1193
+ {
1194
+ "languageId": "json",
1195
+ "file": "errors.tsv",
1196
+ "row": 36,
1197
+ "input": "\"\\\\uZZZZ\"",
1198
+ "expect": {
1199
+ "codes": [
1200
+ "invalid_unicode"
1201
+ ]
1202
+ }
1203
+ },
1204
+ {
1205
+ "languageId": "json",
1206
+ "file": "errors.tsv",
1207
+ "row": 37,
1208
+ "input": "01",
1209
+ "expect": {
1210
+ "codes": [
1211
+ "unexpected"
1212
+ ]
1213
+ }
1214
+ },
1215
+ {
1216
+ "languageId": "json",
1217
+ "file": "errors.tsv",
1218
+ "row": 38,
1219
+ "input": "00",
1220
+ "expect": {
1221
+ "codes": [
1222
+ "unexpected"
1223
+ ]
1224
+ }
1225
+ },
1226
+ {
1227
+ "languageId": "json",
1228
+ "file": "errors.tsv",
1229
+ "row": 39,
1230
+ "input": "123abc",
1231
+ "expect": {
1232
+ "codes": [
1233
+ "unexpected"
1234
+ ]
1235
+ }
1236
+ },
1237
+ {
1238
+ "languageId": "json",
1239
+ "file": "errors.tsv",
1240
+ "row": 40,
1241
+ "input": "[1,2]x",
1242
+ "expect": {
1243
+ "codes": [
1244
+ "unexpected"
1245
+ ]
1246
+ }
1247
+ },
1248
+ {
1249
+ "languageId": "json",
1250
+ "file": "errors.tsv",
1251
+ "row": 41,
1252
+ "input": "nullnull",
1253
+ "expect": {
1254
+ "codes": [
1255
+ "unexpected"
1256
+ ]
1257
+ }
1258
+ },
1259
+ {
1260
+ "languageId": "json",
1261
+ "file": "errors.tsv",
1262
+ "row": 50,
1263
+ "input": "[1]]",
1264
+ "expect": {
1265
+ "codes": [
1266
+ "unexpected"
1267
+ ]
1268
+ }
1269
+ },
1270
+ {
1271
+ "languageId": "json",
1272
+ "file": "errors.tsv",
1273
+ "row": 51,
1274
+ "input": "{}}",
1275
+ "expect": {
1276
+ "codes": [
1277
+ "unexpected"
1278
+ ]
1279
+ }
1280
+ },
1281
+ {
1282
+ "languageId": "json",
1283
+ "file": "errors.tsv",
1284
+ "row": 52,
1285
+ "input": "[\"x\"]]",
1286
+ "expect": {
1287
+ "codes": [
1288
+ "unexpected"
1289
+ ]
1290
+ }
1291
+ },
1292
+ {
1293
+ "languageId": "json",
1294
+ "file": "errors.tsv",
1295
+ "row": 53,
1296
+ "input": "[\"\"],",
1297
+ "expect": {
1298
+ "codes": [
1299
+ "unexpected"
1300
+ ]
1301
+ }
1302
+ },
1303
+ {
1304
+ "languageId": "json",
1305
+ "file": "errors.tsv",
1306
+ "row": 54,
1307
+ "input": "1]",
1308
+ "expect": {
1309
+ "codes": [
1310
+ "unexpected"
1311
+ ]
1312
+ }
1313
+ },
1314
+ {
1315
+ "languageId": "json",
1316
+ "file": "errors.tsv",
1317
+ "row": 55,
1318
+ "input": "{\"a\": true} \"x\"",
1319
+ "expect": {
1320
+ "codes": [
1321
+ "unexpected"
1322
+ ]
1323
+ }
1324
+ },
1325
+ {
1326
+ "languageId": "json",
1327
+ "file": "errors.tsv",
1328
+ "row": 56,
1329
+ "input": "[]]",
1330
+ "expect": {
1331
+ "codes": [
1332
+ "unexpected"
1333
+ ]
1334
+ }
1335
+ },
1336
+ {
1337
+ "languageId": "json",
1338
+ "file": "errors.tsv",
1339
+ "row": 57,
1340
+ "input": "1,",
1341
+ "expect": {
1342
+ "codes": [
1343
+ "unexpected"
1344
+ ]
1345
+ }
1346
+ },
1347
+ {
1348
+ "languageId": "json",
1349
+ "file": "errors.tsv",
1350
+ "row": 58,
1351
+ "input": "\"a\" \"b\"",
1352
+ "expect": {
1353
+ "codes": [
1354
+ "unexpected"
1355
+ ]
1356
+ }
1357
+ },
1358
+ {
1359
+ "languageId": "json",
1360
+ "file": "errors.tsv",
1361
+ "row": 59,
1362
+ "input": "null null",
1363
+ "expect": {
1364
+ "codes": [
1365
+ "unexpected"
1366
+ ]
1367
+ }
1368
+ },
1369
+ {
1370
+ "languageId": "json",
1371
+ "file": "errors.tsv",
1372
+ "row": 60,
1373
+ "input": "[1] 2",
1374
+ "expect": {
1375
+ "codes": [
1376
+ "unexpected"
1377
+ ]
1378
+ }
1379
+ },
1380
+ {
1381
+ "languageId": "json",
1382
+ "file": "reject-extended.tsv",
1383
+ "row": 2,
1384
+ "input": "{a:1}",
1385
+ "expect": {
1386
+ "codes": [
1387
+ "unexpected"
1388
+ ]
1389
+ }
1390
+ },
1391
+ {
1392
+ "languageId": "json",
1393
+ "file": "reject-extended.tsv",
1394
+ "row": 3,
1395
+ "input": "[1,2,]",
1396
+ "expect": {
1397
+ "codes": [
1398
+ "unexpected"
1399
+ ]
1400
+ }
1401
+ },
1402
+ {
1403
+ "languageId": "json",
1404
+ "file": "reject-extended.tsv",
1405
+ "row": 4,
1406
+ "input": "1 // note",
1407
+ "expect": {
1408
+ "codes": [
1409
+ "unexpected"
1410
+ ]
1411
+ }
1412
+ },
1413
+ {
1414
+ "languageId": "json",
1415
+ "file": "reject-extended.tsv",
1416
+ "row": 5,
1417
+ "input": "'x'",
1418
+ "expect": {
1419
+ "codes": [
1420
+ "unexpected"
1421
+ ]
1422
+ }
1423
+ },
1424
+ {
1425
+ "languageId": "json",
1426
+ "file": "reject-extended.tsv",
1427
+ "row": 6,
1428
+ "input": "a:1,b:2",
1429
+ "expect": {
1430
+ "codes": [
1431
+ "unexpected"
1432
+ ]
1433
+ }
1434
+ },
1435
+ {
1436
+ "languageId": "json",
1437
+ "file": "reject-extended.tsv",
1438
+ "row": 7,
1439
+ "input": "x,y,z",
1440
+ "expect": {
1441
+ "codes": [
1442
+ "unexpected"
1443
+ ]
1444
+ }
1445
+ },
1446
+ {
1447
+ "languageId": "json",
1448
+ "file": "reject-extended.tsv",
1449
+ "row": 8,
1450
+ "input": "0x10",
1451
+ "expect": {
1452
+ "codes": [
1453
+ "unexpected"
1454
+ ]
1455
+ }
1456
+ },
1457
+ {
1458
+ "languageId": "json",
1459
+ "file": "reject-extended.tsv",
1460
+ "row": 9,
1461
+ "input": ".5",
1462
+ "expect": {
1463
+ "codes": [
1464
+ "unexpected"
1465
+ ]
1466
+ }
1467
+ },
1468
+ {
1469
+ "languageId": "json",
1470
+ "file": "reject-extended.tsv",
1471
+ "row": 10,
1472
+ "input": "+1",
1473
+ "expect": {
1474
+ "codes": [
1475
+ "unexpected"
1476
+ ]
1477
+ }
1478
+ },
1479
+ {
1480
+ "languageId": "json",
1481
+ "file": "reject-extended.tsv",
1482
+ "row": 11,
1483
+ "input": "1.",
1484
+ "expect": {
1485
+ "codes": [
1486
+ "unexpected"
1487
+ ]
1488
+ }
1489
+ },
1490
+ {
1491
+ "languageId": "json",
1492
+ "file": "reject-extended.tsv",
1493
+ "row": 12,
1494
+ "input": "01",
1495
+ "expect": {
1496
+ "codes": [
1497
+ "unexpected"
1498
+ ]
1499
+ }
1500
+ },
1501
+ {
1502
+ "languageId": "json",
1503
+ "file": "reject-extended.tsv",
1504
+ "row": 13,
1505
+ "input": "\"\\\\x41\"",
1506
+ "expect": {
1507
+ "codes": [
1508
+ "unexpected"
1509
+ ]
1510
+ }
1511
+ },
1512
+ {
1513
+ "languageId": "json",
1514
+ "file": "reject-extended.tsv",
1515
+ "row": 14,
1516
+ "input": "\"\\\\u{41}\"",
1517
+ "expect": {
1518
+ "codes": [
1519
+ "invalid_unicode"
1520
+ ]
1521
+ }
1522
+ },
1523
+ {
1524
+ "languageId": "json",
1525
+ "file": "reject-extended.tsv",
1526
+ "row": 15,
1527
+ "input": "\"\\\\v\"",
1528
+ "expect": {
1529
+ "codes": [
1530
+ "unexpected"
1531
+ ]
1532
+ }
1533
+ },
1534
+ {
1535
+ "languageId": "json",
1536
+ "file": "reject-extended.tsv",
1537
+ "row": 16,
1538
+ "input": "\"\\\\'\"",
1539
+ "expect": {
1540
+ "codes": [
1541
+ "unexpected"
1542
+ ]
1543
+ }
1544
+ },
1545
+ {
1546
+ "languageId": "json",
1547
+ "file": "reject-extended.tsv",
1548
+ "row": 17,
1549
+ "input": "\"\\\\`\"",
1550
+ "expect": {
1551
+ "codes": [
1552
+ "unexpected"
1553
+ ]
1554
+ }
1555
+ },
1556
+ {
1557
+ "languageId": "json",
1558
+ "file": "reject-extended.tsv",
1559
+ "row": 18,
1560
+ "input": "{\"a\":1}//c",
1561
+ "expect": {
1562
+ "codes": [
1563
+ "unexpected"
1564
+ ]
1565
+ }
1566
+ },
1567
+ {
1568
+ "languageId": "json",
1569
+ "file": "reject-extended.tsv",
1570
+ "row": 19,
1571
+ "input": "\"abc",
1572
+ "expect": {
1573
+ "codes": [
1574
+ "unterminated_string"
1575
+ ]
1576
+ }
1577
+ },
1578
+ {
1579
+ "languageId": "json",
1580
+ "file": "reject-extended.tsv",
1581
+ "row": 20,
1582
+ "input": "{1:1}",
1583
+ "expect": {
1584
+ "codes": [
1585
+ "unexpected"
1586
+ ]
1587
+ }
1588
+ },
1589
+ {
1590
+ "languageId": "json",
1591
+ "file": "reject-extended.tsv",
1592
+ "row": 21,
1593
+ "input": "{1.5:1}",
1594
+ "expect": {
1595
+ "codes": [
1596
+ "unexpected"
1597
+ ]
1598
+ }
1599
+ },
1600
+ {
1601
+ "languageId": "json",
1602
+ "file": "reject-extended.tsv",
1603
+ "row": 22,
1604
+ "input": "{true:1}",
1605
+ "expect": {
1606
+ "codes": [
1607
+ "unexpected"
1608
+ ]
1609
+ }
1610
+ },
1611
+ {
1612
+ "languageId": "json",
1613
+ "file": "reject-extended.tsv",
1614
+ "row": 23,
1615
+ "input": "{null:null,null:null}",
1616
+ "expect": {
1617
+ "codes": [
1618
+ "unexpected"
1619
+ ]
1620
+ }
1621
+ },
1622
+ {
1623
+ "languageId": "json5",
1624
+ "file": "comments.tsv",
1625
+ "row": 7,
1626
+ "input": "# a comment\n42",
1627
+ "expect": {
1628
+ "codes": [
1629
+ "unexpected"
1630
+ ]
1631
+ }
1632
+ },
1633
+ {
1634
+ "languageId": "json5",
1635
+ "file": "infinity-nan.tsv",
1636
+ "row": 8,
1637
+ "input": "Infinity",
1638
+ "expect": {
1639
+ "codes": [
1640
+ "unexpected"
1641
+ ]
1642
+ }
1643
+ },
1644
+ {
1645
+ "languageId": "json5",
1646
+ "file": "infinity-nan.tsv",
1647
+ "row": 9,
1648
+ "input": "NaN",
1649
+ "expect": {
1650
+ "codes": [
1651
+ "unexpected"
1652
+ ]
1653
+ }
1654
+ },
1655
+ {
1656
+ "languageId": "json5",
1657
+ "file": "options.tsv",
1658
+ "row": 5,
1659
+ "input": "0x1F",
1660
+ "expect": {
1661
+ "codes": [
1662
+ "unexpected"
1663
+ ]
1664
+ }
1665
+ },
1666
+ {
1667
+ "languageId": "json5",
1668
+ "file": "options.tsv",
1669
+ "row": 6,
1670
+ "input": "",
1671
+ "expect": {
1672
+ "codes": [
1673
+ "json5_empty"
1674
+ ]
1675
+ }
1676
+ },
1677
+ {
1678
+ "languageId": "json5",
1679
+ "file": "options.tsv",
1680
+ "row": 7,
1681
+ "input": "// only a comment",
1682
+ "expect": {
1683
+ "codes": [
1684
+ "json5_no_value"
1685
+ ]
1686
+ }
1687
+ },
1688
+ {
1689
+ "languageId": "json5",
1690
+ "file": "options.tsv",
1691
+ "row": 8,
1692
+ "input": "/* only a comment */",
1693
+ "expect": {
1694
+ "codes": [
1695
+ "json5_no_value"
1696
+ ]
1697
+ }
1698
+ },
1699
+ {
1700
+ "languageId": "json5",
1701
+ "file": "options.tsv",
1702
+ "row": 9,
1703
+ "input": " ",
1704
+ "expect": {
1705
+ "codes": [
1706
+ "json5_no_value"
1707
+ ]
1708
+ }
1709
+ },
1710
+ {
1711
+ "languageId": "json5",
1712
+ "file": "options.tsv",
1713
+ "row": 26,
1714
+ "input": "/* x",
1715
+ "expect": {
1716
+ "codes": [
1717
+ "unterminated_comment"
1718
+ ]
1719
+ }
1720
+ },
1721
+ {
1722
+ "languageId": "json5",
1723
+ "file": "rejects-non-json5.tsv",
1724
+ "row": 2,
1725
+ "input": "foo",
1726
+ "expect": {
1727
+ "codes": [
1728
+ "unexpected"
1729
+ ]
1730
+ }
1731
+ },
1732
+ {
1733
+ "languageId": "json5",
1734
+ "file": "rejects-non-json5.tsv",
1735
+ "row": 3,
1736
+ "input": "0o17",
1737
+ "expect": {
1738
+ "codes": [
1739
+ "unexpected"
1740
+ ]
1741
+ }
1742
+ },
1743
+ {
1744
+ "languageId": "json5",
1745
+ "file": "rejects-non-json5.tsv",
1746
+ "row": 4,
1747
+ "input": "0b101",
1748
+ "expect": {
1749
+ "codes": [
1750
+ "unexpected"
1751
+ ]
1752
+ }
1753
+ },
1754
+ {
1755
+ "languageId": "json5",
1756
+ "file": "rejects-non-json5.tsv",
1757
+ "row": 5,
1758
+ "input": "1_000",
1759
+ "expect": {
1760
+ "codes": [
1761
+ "unexpected"
1762
+ ]
1763
+ }
1764
+ },
1765
+ {
1766
+ "languageId": "json5",
1767
+ "file": "rejects-non-json5.tsv",
1768
+ "row": 6,
1769
+ "input": "1,2,3",
1770
+ "expect": {
1771
+ "codes": [
1772
+ "unexpected"
1773
+ ]
1774
+ }
1775
+ },
1776
+ {
1777
+ "languageId": "json5",
1778
+ "file": "rejects-non-json5.tsv",
1779
+ "row": 7,
1780
+ "input": "a:1",
1781
+ "expect": {
1782
+ "codes": [
1783
+ "unexpected"
1784
+ ]
1785
+ }
1786
+ },
1787
+ {
1788
+ "languageId": "json5",
1789
+ "file": "strings.tsv",
1790
+ "row": 12,
1791
+ "input": "`backtick`",
1792
+ "expect": {
1793
+ "codes": [
1794
+ "unexpected"
1795
+ ]
1796
+ }
1797
+ },
1798
+ {
1799
+ "languageId": "jsonc",
1800
+ "file": "comments.tsv",
1801
+ "row": 15,
1802
+ "input": "#",
1803
+ "expect": {
1804
+ "codes": [
1805
+ "unexpected"
1806
+ ]
1807
+ }
1808
+ },
1809
+ {
1810
+ "languageId": "jsonc",
1811
+ "file": "comments.tsv",
1812
+ "row": 16,
1813
+ "input": "# not a comment\n1",
1814
+ "expect": {
1815
+ "codes": [
1816
+ "unexpected"
1817
+ ]
1818
+ }
1819
+ },
1820
+ {
1821
+ "languageId": "jsonc",
1822
+ "file": "comments.tsv",
1823
+ "row": 17,
1824
+ "input": "1 # not a comment",
1825
+ "expect": {
1826
+ "codes": [
1827
+ "unexpected"
1828
+ ]
1829
+ }
1830
+ },
1831
+ {
1832
+ "languageId": "jsonc",
1833
+ "file": "comments.tsv",
1834
+ "row": 18,
1835
+ "input": "{\"a\":\"b\"}#",
1836
+ "expect": {
1837
+ "codes": [
1838
+ "unexpected"
1839
+ ]
1840
+ }
1841
+ },
1842
+ {
1843
+ "languageId": "jsonc",
1844
+ "file": "comments.tsv",
1845
+ "row": 19,
1846
+ "input": "{\"a\":\"b\"}#{}",
1847
+ "expect": {
1848
+ "codes": [
1849
+ "unexpected"
1850
+ ]
1851
+ }
1852
+ },
1853
+ {
1854
+ "languageId": "jsonc",
1855
+ "file": "comments.tsv",
1856
+ "row": 22,
1857
+ "input": "/* this is a",
1858
+ "expect": {
1859
+ "codes": [
1860
+ "unterminated_comment"
1861
+ ]
1862
+ }
1863
+ },
1864
+ {
1865
+ "languageId": "jsonc",
1866
+ "file": "comments.tsv",
1867
+ "row": 23,
1868
+ "input": "/* this is a \ncomment",
1869
+ "expect": {
1870
+ "codes": [
1871
+ "unterminated_comment"
1872
+ ]
1873
+ }
1874
+ },
1875
+ {
1876
+ "languageId": "jsonc",
1877
+ "file": "comments.tsv",
1878
+ "row": 24,
1879
+ "input": "/ ttt",
1880
+ "expect": {
1881
+ "codes": [
1882
+ "unexpected"
1883
+ ]
1884
+ }
1885
+ },
1886
+ {
1887
+ "languageId": "jsonc",
1888
+ "file": "keywords.tsv",
1889
+ "row": 5,
1890
+ "input": "nulllll",
1891
+ "expect": {
1892
+ "codes": [
1893
+ "unexpected"
1894
+ ]
1895
+ }
1896
+ },
1897
+ {
1898
+ "languageId": "jsonc",
1899
+ "file": "keywords.tsv",
1900
+ "row": 6,
1901
+ "input": "True",
1902
+ "expect": {
1903
+ "codes": [
1904
+ "unexpected"
1905
+ ]
1906
+ }
1907
+ },
1908
+ {
1909
+ "languageId": "jsonc",
1910
+ "file": "keywords.tsv",
1911
+ "row": 7,
1912
+ "input": "foo-bar",
1913
+ "expect": {
1914
+ "codes": [
1915
+ "unexpected"
1916
+ ]
1917
+ }
1918
+ },
1919
+ {
1920
+ "languageId": "jsonc",
1921
+ "file": "keywords.tsv",
1922
+ "row": 8,
1923
+ "input": "foo bar",
1924
+ "expect": {
1925
+ "codes": [
1926
+ "unexpected"
1927
+ ]
1928
+ }
1929
+ },
1930
+ {
1931
+ "languageId": "jsonc",
1932
+ "file": "numbers.tsv",
1933
+ "row": 26,
1934
+ "input": "-",
1935
+ "expect": {
1936
+ "codes": [
1937
+ "unexpected"
1938
+ ]
1939
+ }
1940
+ },
1941
+ {
1942
+ "languageId": "jsonc",
1943
+ "file": "numbers.tsv",
1944
+ "row": 27,
1945
+ "input": ".0",
1946
+ "expect": {
1947
+ "codes": [
1948
+ "unexpected"
1949
+ ]
1950
+ }
1951
+ },
1952
+ {
1953
+ "languageId": "jsonc",
1954
+ "file": "strings.tsv",
1955
+ "row": 16,
1956
+ "input": "\"\\\\v\"",
1957
+ "expect": {
1958
+ "codes": [
1959
+ "unexpected"
1960
+ ]
1961
+ }
1962
+ },
1963
+ {
1964
+ "languageId": "jsonc",
1965
+ "file": "strings.tsv",
1966
+ "row": 18,
1967
+ "input": "\"\\\\x42\"",
1968
+ "expect": {
1969
+ "codes": [
1970
+ "unexpected"
1971
+ ]
1972
+ }
1973
+ },
1974
+ {
1975
+ "languageId": "jsonc",
1976
+ "file": "strings.tsv",
1977
+ "row": 19,
1978
+ "input": "[\"\\\\x00\"]",
1979
+ "expect": {
1980
+ "codes": [
1981
+ "unexpected"
1982
+ ]
1983
+ }
1984
+ },
1985
+ {
1986
+ "languageId": "jsonc",
1987
+ "file": "strings.tsv",
1988
+ "row": 22,
1989
+ "input": "\"test",
1990
+ "expect": {
1991
+ "codes": [
1992
+ "unterminated_string"
1993
+ ]
1994
+ }
1995
+ },
1996
+ {
1997
+ "languageId": "jsonc",
1998
+ "file": "strings.tsv",
1999
+ "row": 23,
2000
+ "input": "\"test\n\"",
2001
+ "expect": {
2002
+ "codes": [
2003
+ "unprintable"
2004
+ ]
2005
+ }
2006
+ },
2007
+ {
2008
+ "languageId": "jsonc",
2009
+ "file": "strings.tsv",
2010
+ "row": 24,
2011
+ "input": "\"\t\"",
2012
+ "expect": {
2013
+ "codes": [
2014
+ "unprintable"
2015
+ ]
2016
+ }
2017
+ },
2018
+ {
2019
+ "languageId": "jsonc",
2020
+ "file": "strings.tsv",
2021
+ "row": 25,
2022
+ "input": "\"\t \"",
2023
+ "expect": {
2024
+ "codes": [
2025
+ "unprintable"
2026
+ ]
2027
+ }
2028
+ },
2029
+ {
2030
+ "languageId": "jsonc",
2031
+ "file": "strings.tsv",
2032
+ "row": 26,
2033
+ "input": "\"\\0 \"",
2034
+ "expect": {
2035
+ "codes": [
2036
+ "unprintable"
2037
+ ]
2038
+ }
2039
+ },
2040
+ {
2041
+ "languageId": "jsonic",
2042
+ "file": "alignment-errors.tsv",
2043
+ "row": 2,
2044
+ "input": "}",
2045
+ "expect": {
2046
+ "codes": [
2047
+ "unexpected"
2048
+ ]
2049
+ }
2050
+ },
2051
+ {
2052
+ "languageId": "jsonic",
2053
+ "file": "alignment-errors.tsv",
2054
+ "row": 3,
2055
+ "input": "]",
2056
+ "expect": {
2057
+ "codes": [
2058
+ "unexpected"
2059
+ ]
2060
+ }
2061
+ },
2062
+ {
2063
+ "languageId": "jsonic",
2064
+ "file": "alignment-errors.tsv",
2065
+ "row": 4,
2066
+ "input": ":",
2067
+ "expect": {
2068
+ "codes": [
2069
+ "unexpected"
2070
+ ]
2071
+ }
2072
+ },
2073
+ {
2074
+ "languageId": "jsonic",
2075
+ "file": "alignment-errors.tsv",
2076
+ "row": 5,
2077
+ "input": "\"unterminated",
2078
+ "expect": {
2079
+ "codes": [
2080
+ "unterminated_string"
2081
+ ]
2082
+ }
2083
+ },
2084
+ {
2085
+ "languageId": "jsonic",
2086
+ "file": "alignment-errors.tsv",
2087
+ "row": 6,
2088
+ "input": "'unterminated",
2089
+ "expect": {
2090
+ "codes": [
2091
+ "unterminated_string"
2092
+ ]
2093
+ }
2094
+ },
2095
+ {
2096
+ "languageId": "jsonic",
2097
+ "file": "alignment-errors.tsv",
2098
+ "row": 7,
2099
+ "input": "`unterminated",
2100
+ "expect": {
2101
+ "codes": [
2102
+ "unterminated_string"
2103
+ ]
2104
+ }
2105
+ },
2106
+ {
2107
+ "languageId": "jsonic",
2108
+ "file": "alignment-errors.tsv",
2109
+ "row": 8,
2110
+ "input": "/*",
2111
+ "expect": {
2112
+ "codes": [
2113
+ "unterminated_comment"
2114
+ ]
2115
+ }
2116
+ },
2117
+ {
2118
+ "languageId": "jsonic",
2119
+ "file": "alignment-errors.tsv",
2120
+ "row": 9,
2121
+ "input": "a:1,2",
2122
+ "expect": {
2123
+ "codes": [
2124
+ "unexpected"
2125
+ ]
2126
+ }
2127
+ },
2128
+ {
2129
+ "languageId": "jsonic",
2130
+ "file": "alignment-strict-json-mode-errors.tsv",
2131
+ "row": 2,
2132
+ "input": "[012]",
2133
+ "expect": {
2134
+ "codes": [
2135
+ "unexpected"
2136
+ ]
2137
+ }
2138
+ },
2139
+ {
2140
+ "languageId": "jsonic",
2141
+ "file": "alignment-strict-json-mode-errors.tsv",
2142
+ "row": 3,
2143
+ "input": "[00]",
2144
+ "expect": {
2145
+ "codes": [
2146
+ "unexpected"
2147
+ ]
2148
+ }
2149
+ },
2150
+ {
2151
+ "languageId": "jsonic",
2152
+ "file": "alignment-strict-json-mode-errors.tsv",
2153
+ "row": 4,
2154
+ "input": "[+1]",
2155
+ "expect": {
2156
+ "codes": [
2157
+ "unexpected"
2158
+ ]
2159
+ }
2160
+ },
2161
+ {
2162
+ "languageId": "jsonic",
2163
+ "file": "alignment-strict-json-mode-errors.tsv",
2164
+ "row": 5,
2165
+ "input": "[-01]",
2166
+ "expect": {
2167
+ "codes": [
2168
+ "unexpected"
2169
+ ]
2170
+ }
2171
+ },
2172
+ {
2173
+ "languageId": "jsonic",
2174
+ "file": "alignment-strict-json-mode-errors.tsv",
2175
+ "row": 6,
2176
+ "input": "[1.]",
2177
+ "expect": {
2178
+ "codes": [
2179
+ "unexpected"
2180
+ ]
2181
+ }
2182
+ },
2183
+ {
2184
+ "languageId": "jsonic",
2185
+ "file": "alignment-strict-json-mode-errors.tsv",
2186
+ "row": 7,
2187
+ "input": "[-2.]",
2188
+ "expect": {
2189
+ "codes": [
2190
+ "unexpected"
2191
+ ]
2192
+ }
2193
+ },
2194
+ {
2195
+ "languageId": "jsonic",
2196
+ "file": "alignment-strict-json-mode-errors.tsv",
2197
+ "row": 8,
2198
+ "input": "[.123]",
2199
+ "expect": {
2200
+ "codes": [
2201
+ "unexpected"
2202
+ ]
2203
+ }
2204
+ },
2205
+ {
2206
+ "languageId": "jsonic",
2207
+ "file": "alignment-strict-json-mode-errors.tsv",
2208
+ "row": 9,
2209
+ "input": "[-.123]",
2210
+ "expect": {
2211
+ "codes": [
2212
+ "unexpected"
2213
+ ]
2214
+ }
2215
+ },
2216
+ {
2217
+ "languageId": "jsonic",
2218
+ "file": "alignment-strict-json-mode-errors.tsv",
2219
+ "row": 10,
2220
+ "input": "[.2e-3]",
2221
+ "expect": {
2222
+ "codes": [
2223
+ "unexpected"
2224
+ ]
2225
+ }
2226
+ },
2227
+ {
2228
+ "languageId": "jsonic",
2229
+ "file": "alignment-strict-json-mode-errors.tsv",
2230
+ "row": 11,
2231
+ "input": "[0.e1]",
2232
+ "expect": {
2233
+ "codes": [
2234
+ "unexpected"
2235
+ ]
2236
+ }
2237
+ },
2238
+ {
2239
+ "languageId": "jsonic",
2240
+ "file": "alignment-strict-json-mode-errors.tsv",
2241
+ "row": 12,
2242
+ "input": "[2.e3]",
2243
+ "expect": {
2244
+ "codes": [
2245
+ "unexpected"
2246
+ ]
2247
+ }
2248
+ },
2249
+ {
2250
+ "languageId": "jsonic",
2251
+ "file": "alignment-strict-json-mode-errors.tsv",
2252
+ "row": 13,
2253
+ "input": "[\"\\x41\"]",
2254
+ "expect": {
2255
+ "codes": [
2256
+ "unexpected"
2257
+ ]
2258
+ }
2259
+ },
2260
+ {
2261
+ "languageId": "jsonic",
2262
+ "file": "alignment-strict-json-mode-errors.tsv",
2263
+ "row": 14,
2264
+ "input": "{\"a\":01}",
2265
+ "expect": {
2266
+ "codes": [
2267
+ "unexpected"
2268
+ ]
2269
+ }
2270
+ },
2271
+ {
2272
+ "languageId": "jsonic",
2273
+ "file": "alignment-strict-json-mode-errors.tsv",
2274
+ "row": 15,
2275
+ "input": "{1:1}",
2276
+ "expect": {
2277
+ "codes": [
2278
+ "unexpected"
2279
+ ]
2280
+ }
2281
+ },
2282
+ {
2283
+ "languageId": "jsonic",
2284
+ "file": "alignment-strict-json-mode-errors.tsv",
2285
+ "row": 16,
2286
+ "input": "{null:null,null:null}",
2287
+ "expect": {
2288
+ "codes": [
2289
+ "unexpected"
2290
+ ]
2291
+ }
2292
+ },
2293
+ {
2294
+ "languageId": "jsonic",
2295
+ "file": "alignment-strict-json-mode-errors.tsv",
2296
+ "row": 17,
2297
+ "input": "{true:1}",
2298
+ "expect": {
2299
+ "codes": [
2300
+ "unexpected"
2301
+ ]
2302
+ }
2303
+ },
2304
+ {
2305
+ "languageId": "jsonic",
2306
+ "file": "alignment-strict-json-mode-errors.tsv",
2307
+ "row": 18,
2308
+ "input": "{false:1}",
2309
+ "expect": {
2310
+ "codes": [
2311
+ "unexpected"
2312
+ ]
2313
+ }
2314
+ },
2315
+ {
2316
+ "languageId": "jsonic",
2317
+ "file": "alignment-strict-json-mode-errors.tsv",
2318
+ "row": 19,
2319
+ "input": "{1.5:1}",
2320
+ "expect": {
2321
+ "codes": [
2322
+ "unexpected"
2323
+ ]
2324
+ }
2325
+ },
2326
+ {
2327
+ "languageId": "jsonic",
2328
+ "file": "alignment-strict-json-mode-errors.tsv",
2329
+ "row": 20,
2330
+ "input": "{9999E9999:1}",
2331
+ "expect": {
2332
+ "codes": [
2333
+ "unexpected"
2334
+ ]
2335
+ }
2336
+ },
2337
+ {
2338
+ "languageId": "jsonic",
2339
+ "file": "exclude-comma-errors.tsv",
2340
+ "row": 2,
2341
+ "input": "{\"a\":1,}",
2342
+ "expect": {
2343
+ "codes": [
2344
+ "unexpected"
2345
+ ]
2346
+ }
2347
+ },
2348
+ {
2349
+ "languageId": "jsonic",
2350
+ "file": "exclude-strict-json-errors.tsv",
2351
+ "row": 2,
2352
+ "input": "\"unterminated",
2353
+ "expect": {
2354
+ "codes": [
2355
+ "unterminated_string"
2356
+ ]
2357
+ }
2358
+ },
2359
+ {
2360
+ "languageId": "jsonic",
2361
+ "file": "exclude-strict-json-errors.tsv",
2362
+ "row": 3,
2363
+ "input": "{\"a\":1,}",
2364
+ "expect": {
2365
+ "codes": [
2366
+ "unexpected"
2367
+ ]
2368
+ }
2369
+ },
2370
+ {
2371
+ "languageId": "jsonic",
2372
+ "file": "exclude-strict-json-errors.tsv",
2373
+ "row": 4,
2374
+ "input": "[1,2,]",
2375
+ "expect": {
2376
+ "codes": [
2377
+ "unexpected"
2378
+ ]
2379
+ }
2380
+ },
2381
+ {
2382
+ "languageId": "jsonic",
2383
+ "file": "exclude-strict-json-errors.tsv",
2384
+ "row": 5,
2385
+ "input": "a:1",
2386
+ "expect": {
2387
+ "codes": [
2388
+ "unexpected"
2389
+ ]
2390
+ }
2391
+ },
2392
+ {
2393
+ "languageId": "jsonic",
2394
+ "file": "feature-comment-def-nolex-errors.tsv",
2395
+ "row": 2,
2396
+ "input": "a:1 ;c\nb:2",
2397
+ "expect": {
2398
+ "codes": [
2399
+ "unexpected"
2400
+ ]
2401
+ }
2402
+ },
2403
+ {
2404
+ "languageId": "jsonic",
2405
+ "file": "feature-comment-def-remove-errors.tsv",
2406
+ "row": 2,
2407
+ "input": "a:1 #c\nb:2",
2408
+ "expect": {
2409
+ "codes": [
2410
+ "unexpected"
2411
+ ]
2412
+ }
2413
+ },
2414
+ {
2415
+ "languageId": "jsonic",
2416
+ "file": "include-json-errors.tsv",
2417
+ "row": 2,
2418
+ "input": "\"unterminated",
2419
+ "expect": {
2420
+ "codes": [
2421
+ "unterminated_string"
2422
+ ]
2423
+ }
2424
+ },
2425
+ {
2426
+ "languageId": "jsonic",
2427
+ "file": "include-json-errors.tsv",
2428
+ "row": 3,
2429
+ "input": "{\"a\":1,}",
2430
+ "expect": {
2431
+ "codes": [
2432
+ "unexpected"
2433
+ ]
2434
+ }
2435
+ },
2436
+ {
2437
+ "languageId": "jsonic",
2438
+ "file": "include-json-errors.tsv",
2439
+ "row": 4,
2440
+ "input": "[1,2,]",
2441
+ "expect": {
2442
+ "codes": [
2443
+ "unexpected"
2444
+ ]
2445
+ }
2446
+ },
2447
+ {
2448
+ "languageId": "jsonic",
2449
+ "file": "include-json-errors.tsv",
2450
+ "row": 5,
2451
+ "input": "a:1",
2452
+ "expect": {
2453
+ "codes": [
2454
+ "unexpected"
2455
+ ]
2456
+ }
2457
+ },
2458
+ {
2459
+ "languageId": "jsonic",
2460
+ "file": "lex-errors.tsv",
2461
+ "row": 2,
2462
+ "input": "\"unterminated",
2463
+ "expect": {
2464
+ "codes": [
2465
+ "unterminated_string"
2466
+ ]
2467
+ }
2468
+ },
2469
+ {
2470
+ "languageId": "jsonic",
2471
+ "file": "lex-errors.tsv",
2472
+ "row": 3,
2473
+ "input": "'unterminated",
2474
+ "expect": {
2475
+ "codes": [
2476
+ "unterminated_string"
2477
+ ]
2478
+ }
2479
+ },
2480
+ {
2481
+ "languageId": "jsonic",
2482
+ "file": "lex-errors.tsv",
2483
+ "row": 4,
2484
+ "input": "`unterminated",
2485
+ "expect": {
2486
+ "codes": [
2487
+ "unterminated_string"
2488
+ ]
2489
+ }
2490
+ },
2491
+ {
2492
+ "languageId": "jsonic",
2493
+ "file": "lex-errors.tsv",
2494
+ "row": 5,
2495
+ "input": "/*unterminated",
2496
+ "expect": {
2497
+ "codes": [
2498
+ "unterminated_comment"
2499
+ ]
2500
+ }
2501
+ },
2502
+ {
2503
+ "languageId": "jsonic",
2504
+ "file": "lex-errors.tsv",
2505
+ "row": 6,
2506
+ "input": "{\"a\":\"unterminated}",
2507
+ "expect": {
2508
+ "codes": [
2509
+ "unterminated_string"
2510
+ ]
2511
+ }
2512
+ },
2513
+ {
2514
+ "languageId": "jsonic",
2515
+ "file": "lex-errors.tsv",
2516
+ "row": 7,
2517
+ "input": "[\"unterminated]",
2518
+ "expect": {
2519
+ "codes": [
2520
+ "unterminated_string"
2521
+ ]
2522
+ }
2523
+ },
2524
+ {
2525
+ "languageId": "jsonic",
2526
+ "file": "rule-finish-errors.tsv",
2527
+ "row": 8,
2528
+ "input": "{a:1",
2529
+ "expect": {
2530
+ "codes": [
2531
+ "end_of_source"
2532
+ ]
2533
+ }
2534
+ },
2535
+ {
2536
+ "languageId": "jsonic",
2537
+ "file": "rule-finish-errors.tsv",
2538
+ "row": 9,
2539
+ "input": "{",
2540
+ "expect": {
2541
+ "codes": [
2542
+ "end_of_source"
2543
+ ]
2544
+ }
2545
+ },
2546
+ {
2547
+ "languageId": "jsonic",
2548
+ "file": "rule-finish-errors.tsv",
2549
+ "row": 10,
2550
+ "input": "[1",
2551
+ "expect": {
2552
+ "codes": [
2553
+ "end_of_source"
2554
+ ]
2555
+ }
2556
+ },
2557
+ {
2558
+ "languageId": "jsonic",
2559
+ "file": "rule-finish-errors.tsv",
2560
+ "row": 11,
2561
+ "input": "[1,",
2562
+ "expect": {
2563
+ "codes": [
2564
+ "end_of_source"
2565
+ ]
2566
+ }
2567
+ },
2568
+ {
2569
+ "languageId": "jsonic",
2570
+ "file": "rule-finish-errors.tsv",
2571
+ "row": 12,
2572
+ "input": "{a:1,",
2573
+ "expect": {
2574
+ "codes": [
2575
+ "end_of_source"
2576
+ ]
2577
+ }
2578
+ },
2579
+ {
2580
+ "languageId": "jsonic",
2581
+ "file": "rule-finish-errors.tsv",
2582
+ "row": 13,
2583
+ "input": "a:{b:",
2584
+ "expect": {
2585
+ "codes": [
2586
+ "end_of_source"
2587
+ ]
2588
+ }
2589
+ },
2590
+ {
2591
+ "languageId": "jsonic",
2592
+ "file": "rule-finish-errors.tsv",
2593
+ "row": 14,
2594
+ "input": "{a:",
2595
+ "expect": {
2596
+ "codes": [
2597
+ "end_of_source"
2598
+ ]
2599
+ }
2600
+ },
2601
+ {
2602
+ "languageId": "jsonic",
2603
+ "file": "rule-finish-errors.tsv",
2604
+ "row": 15,
2605
+ "input": "[",
2606
+ "expect": {
2607
+ "codes": [
2608
+ "end_of_source"
2609
+ ]
2610
+ }
2611
+ },
2612
+ {
2613
+ "languageId": "multisource",
2614
+ "file": "errors.tsv",
2615
+ "row": 2,
2616
+ "input": "x:@a",
2617
+ "expect": {
2618
+ "codes": [
2619
+ "multisource_not_found"
2620
+ ]
2621
+ }
2622
+ },
2623
+ {
2624
+ "languageId": "multisource",
2625
+ "file": "errors.tsv",
2626
+ "row": 3,
2627
+ "input": "@\"a.jsonic\"",
2628
+ "expect": {
2629
+ "codes": [
2630
+ "multisource_cycle"
2631
+ ]
2632
+ }
2633
+ },
2634
+ {
2635
+ "languageId": "multisource",
2636
+ "file": "errors.tsv",
2637
+ "row": 4,
2638
+ "input": "@\"a.jsonic\"",
2639
+ "expect": {
2640
+ "codes": [
2641
+ "multisource_cycle"
2642
+ ]
2643
+ }
2644
+ },
2645
+ {
2646
+ "languageId": "multisource",
2647
+ "file": "errors.tsv",
2648
+ "row": 6,
2649
+ "input": "k:@\"a.json\"",
2650
+ "expect": {
2651
+ "codes": [
2652
+ "unexpected"
2653
+ ]
2654
+ }
2655
+ },
2656
+ {
2657
+ "languageId": "parser",
2658
+ "file": "include-json-errors.tsv",
2659
+ "row": 2,
2660
+ "input": "\"unterminated",
2661
+ "expect": {
2662
+ "codes": [
2663
+ "unterminated_string"
2664
+ ]
2665
+ }
2666
+ },
2667
+ {
2668
+ "languageId": "parser",
2669
+ "file": "include-json-errors.tsv",
2670
+ "row": 3,
2671
+ "input": "{\"a\":1,}",
2672
+ "expect": {
2673
+ "codes": [
2674
+ "unexpected"
2675
+ ]
2676
+ }
2677
+ },
2678
+ {
2679
+ "languageId": "parser",
2680
+ "file": "include-json-errors.tsv",
2681
+ "row": 4,
2682
+ "input": "[1,2,]",
2683
+ "expect": {
2684
+ "codes": [
2685
+ "unexpected"
2686
+ ]
2687
+ }
2688
+ },
2689
+ {
2690
+ "languageId": "parser",
2691
+ "file": "include-json-errors.tsv",
2692
+ "row": 5,
2693
+ "input": "a:1",
2694
+ "expect": {
2695
+ "codes": [
2696
+ "unexpected"
2697
+ ]
2698
+ }
2699
+ },
2700
+ {
2701
+ "languageId": "parser",
2702
+ "file": "include-json-utf8-errors.tsv",
2703
+ "row": 2,
2704
+ "input": "\"\\u{110000}\"",
2705
+ "expect": {
2706
+ "codes": [
2707
+ "invalid_unicode"
2708
+ ]
2709
+ }
2710
+ },
2711
+ {
2712
+ "languageId": "parser",
2713
+ "file": "include-json-utf8-errors.tsv",
2714
+ "row": 3,
2715
+ "input": "\"\\u{}\"",
2716
+ "expect": {
2717
+ "codes": [
2718
+ "invalid_unicode"
2719
+ ]
2720
+ }
2721
+ },
2722
+ {
2723
+ "languageId": "parser",
2724
+ "file": "include-json-utf8-errors.tsv",
2725
+ "row": 4,
2726
+ "input": "\"\\uZZZZ\"",
2727
+ "expect": {
2728
+ "codes": [
2729
+ "invalid_unicode"
2730
+ ]
2731
+ }
2732
+ },
2733
+ {
2734
+ "languageId": "parser",
2735
+ "file": "include-json-utf8-errors.tsv",
2736
+ "row": 5,
2737
+ "input": "\"\\u{GGGG}\"",
2738
+ "expect": {
2739
+ "codes": [
2740
+ "invalid_unicode"
2741
+ ]
2742
+ }
2743
+ },
2744
+ {
2745
+ "languageId": "parser",
2746
+ "file": "include-json-utf8-errors.tsv",
2747
+ "row": 6,
2748
+ "input": "\"\\u{1234567}\"",
2749
+ "expect": {
2750
+ "codes": [
2751
+ "invalid_unicode"
2752
+ ]
2753
+ }
2754
+ },
2755
+ {
2756
+ "languageId": "proto",
2757
+ "file": "version-detect.tsv",
2758
+ "row": 9,
2759
+ "input": "syntax = \"proto3\";",
2760
+ "expect": {
2761
+ "codes": [
2762
+ "version"
2763
+ ]
2764
+ }
2765
+ },
2766
+ {
2767
+ "languageId": "toml",
2768
+ "file": "errors.tsv",
2769
+ "row": 2,
2770
+ "input": "a = ",
2771
+ "expect": {
2772
+ "codes": [
2773
+ "unexpected"
2774
+ ]
2775
+ }
2776
+ },
2777
+ {
2778
+ "languageId": "toml",
2779
+ "file": "errors.tsv",
2780
+ "row": 3,
2781
+ "input": "= 1",
2782
+ "expect": {
2783
+ "codes": [
2784
+ "unexpected"
2785
+ ]
2786
+ }
2787
+ },
2788
+ {
2789
+ "languageId": "toml",
2790
+ "file": "errors.tsv",
2791
+ "row": 9,
2792
+ "input": "\"unterminated",
2793
+ "expect": {
2794
+ "codes": [
2795
+ "unterminated_string"
2796
+ ]
2797
+ }
2798
+ },
2799
+ {
2800
+ "languageId": "toml",
2801
+ "file": "errors.tsv",
2802
+ "row": 13,
2803
+ "input": "a = \"abc ",
2804
+ "expect": {
2805
+ "codes": [
2806
+ "unterminated_string"
2807
+ ]
2808
+ }
2809
+ },
2810
+ {
2811
+ "languageId": "toml",
2812
+ "file": "errors.tsv",
2813
+ "row": 14,
2814
+ "input": "a = 'abc ",
2815
+ "expect": {
2816
+ "codes": [
2817
+ "unterminated_string"
2818
+ ]
2819
+ }
2820
+ },
2821
+ {
2822
+ "languageId": "toml",
2823
+ "file": "errors.tsv",
2824
+ "row": 15,
2825
+ "input": "a = \"\"\"abc ",
2826
+ "expect": {
2827
+ "codes": [
2828
+ "unterminated_string"
2829
+ ]
2830
+ }
2831
+ },
2832
+ {
2833
+ "languageId": "zon",
2834
+ "file": "errors.tsv",
2835
+ "row": 3,
2836
+ "input": "0X2A",
2837
+ "expect": {
2838
+ "codes": [
2839
+ "zon_number"
2840
+ ]
2841
+ }
2842
+ },
2843
+ {
2844
+ "languageId": "zon",
2845
+ "file": "errors.tsv",
2846
+ "row": 4,
2847
+ "input": ".@\"\"",
2848
+ "expect": {
2849
+ "codes": [
2850
+ "zon_ident"
2851
+ ]
2852
+ }
2853
+ },
2854
+ {
2855
+ "languageId": "zon",
2856
+ "file": "errors.tsv",
2857
+ "row": 5,
2858
+ "input": "'\\\\u{110000}'",
2859
+ "expect": {
2860
+ "codes": [
2861
+ "zon_char"
2862
+ ]
2863
+ }
2864
+ },
2865
+ {
2866
+ "languageId": "zon",
2867
+ "file": "errors.tsv",
2868
+ "row": 6,
2869
+ "input": "///x",
2870
+ "expect": {
2871
+ "codes": [
2872
+ "zon_doc_comment"
2873
+ ]
2874
+ }
2875
+ },
2876
+ {
2877
+ "languageId": "zon",
2878
+ "file": "errors.tsv",
2879
+ "row": 7,
2880
+ "input": ".{ .a = 1, .a = 2 }",
2881
+ "expect": {
2882
+ "codes": [
2883
+ "zon_dup_field"
2884
+ ]
2885
+ }
2886
+ }
2887
+ ]
2888
+ }