@@ -17,6 +17,13 @@ const TESTS = [
1717 [ '<x 1 />' , [ { index : 0 , rawText : '<x 1 />' } ] ] ,
1818 [ '<A B />' , [ { index : 0 , rawText : '<A B />' } ] ] ,
1919 [ '<ha/ >' , [ { index : 0 , rawText : '<ha/ >' } ] ] ,
20+ [ '<-- />' , [ { index : 0 , rawText : '<-- />' } ] ] ,
21+ [ '<--/>' , [ { index : 0 , rawText : '<--/>' } ] ] ,
22+ [ '<-->' , [ { index : 0 , rawText : '<-->' } ] ] ,
23+ [ '<-a />' , [ { index : 0 , rawText : '<-a />' } ] ] ,
24+ [ '<a- />' , [ { index : 0 , rawText : '<a- />' } ] ] ,
25+ [ '<a-/>' , [ { index : 0 , rawText : '<a-/>' } ] ] ,
26+ [ '<a->' , [ { index : 0 , rawText : '<a->' } ] ] ,
2027 [ '<1tag />' , [ { index : 0 , rawText : '<1tag />' } ] ] , // tag cannot start with Number
2128 [ '<tag X=0 />' , [ { index : 0 , rawText : '<tag X=0 />' } ] ] , // prop cannot start with Upper
2229 [ '<tag 1=2 />' , [ { index : 0 , rawText : '<tag 1=2 />' } ] ] , // prop cannot start with Number
@@ -72,6 +79,7 @@ const TESTS = [
7279 [ '<x >' , [ { index : 0 , rawText : '<x >' , name : 'x' , double : true } ] ] ,
7380 [ '<xY1/>' , [ { index : 0 , rawText : '<xY1/>' , name : 'xY1' , single : true } ] ] ,
7481 [ '< x/>' , [ { index : 0 , rawText : '< x/>' , name : 'x' , single : true } ] ] ,
82+ [ '<x-y/>' , [ { index : 0 , rawText : '<x-y/>' , name : 'xY' , single : true } ] ] ,
7583 [ '<x />' , [ { index : 0 , rawText : '<x />' , name : 'x' , single : true } ] ] ,
7684 [ '<x />' , [ { index : 0 , rawText : '<x />' , name : 'x' , single : true } ] ] ,
7785 [
0 commit comments