File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change 44
44
"type" : " unresolved-variable"
45
45
}
46
46
]
47
+ },
48
+ {
49
+ "description" : " NFC: keys are normalized" ,
50
+ "src" : " .local $x = {\u1E0A\u0323 :string} .match $x \u1E0A\u0323 {{Not normalized}} \u1E0C\u0307 {{Normalized}} * {{Wrong}}" ,
51
+ "expErrors" : [{"type" : " duplicate-variant" }]
52
+ },
53
+ {
54
+ "description" : " NFC: keys are normalized" ,
55
+ "src" : " .local $x = {\u1E0A\u0323 :string} .match $x \u1E0C\u0307 {{Right}} * {{Wrong}}" ,
56
+ "exp" : " Right"
47
57
}
48
58
]
49
59
}
Original file line number Diff line number Diff line change 697
697
{
698
698
"src" : " {{trailing whitespace}} \n " ,
699
699
"exp" : " trailing whitespace"
700
+ },
701
+ {
702
+ "description" : " NFC: literals are not normalized" ,
703
+ "src" : " \u1E0A\u0323 " ,
704
+ "exp" : " \u1E0A\u0323 "
705
+ },
706
+ {
707
+ "description" : " NFC: variables are compared to each other as-if normalized; decl is non-normalized, use is" ,
708
+ "src" : " .local $\u0044\u0323\u0307 = {foo} {{{$\u1E0c\u0307 }}}" ,
709
+ "exp" : " foo"
710
+ },
711
+ {
712
+ "description" : " NFC: variables are compared to each other as-if normalized; decl is normalized, use isn't" ,
713
+ "src" : " .local $\u1E0c\u0307 = {foo} {{{$\u0044\u0323\u0307 }}}" ,
714
+ "exp" : " foo"
715
+ },
716
+ {
717
+ "description" : " NFC: variables are compared to each other as-if normalized; decl is normalized, use isn't" ,
718
+ "src" : " .input {$\u1E0c\u0307 } {{{$\u0044\u0323\u0307 }}}" ,
719
+ "params" : [{"name" : " \u1E0c\u0307 " , "value" : " foo" }],
720
+ "exp" : " foo"
721
+ },
722
+ {
723
+ "description" : " NFC: variables are compared to each other as-if normalized; decl is non-normalized, use is" ,
724
+ "src" : " .input {$\u0044\u0323\u0307 } {{{$\u1E0c\u0307 }}}" ,
725
+ "params" : [{"name" : " \u0044\u0323\u0307 " , "value" : " foo" }],
726
+ "exp" : " foo"
700
727
}
701
728
]
702
729
}
You can’t perform that action at this time.
0 commit comments