Skip to content

Commit 1006201

Browse files
catamorphismeemeli
andauthored
Update test/tests/functions/string.json
Co-authored-by: Eemeli Aro <eemeli@gmail.com>
1 parent dec91ac commit 1006201

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

test/tests/functions/string.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,20 @@
4646
]
4747
},
4848
{
49-
"description": "NFC: keys are normalized",
49+
"description": "NFC: keys are normalized (unquoted)",
5050
"src": ".local $x = {\u1E0A\u0323 :string} .match $x \u1E0A\u0323 {{Not normalized}} \u1E0C\u0307 {{Normalized}} * {{Wrong}}",
5151
"expErrors": [{"type": "duplicate-variant"}]
5252
},
53+
{
54+
"description": "NFC: keys are normalized (quoted)",
55+
"src": ".local $x = {\u1E0A\u0323 :string} .match $x |\u1E0A\u0323| {{Not normalized}} |\u1E0C\u0307| {{Normalized}} * {{Wrong}}",
56+
"expErrors": [{"type": "duplicate-variant"}]
57+
},
58+
{
59+
"description": "NFC: keys are normalized (mixed)",
60+
"src": ".local $x = {\u1E0A\u0323 :string} .match $x \u1E0A\u0323 {{Not normalized}} |\u1E0C\u0307| {{Normalized}} * {{Wrong}}",
61+
"expErrors": [{"type": "duplicate-variant"}]
62+
},
5363
{
5464
"description": "NFC: keys are normalized",
5565
"src": ".local $x = {\u1E0A\u0323 :string} .match $x \u1E0C\u0307 {{Right}} * {{Wrong}}",

0 commit comments

Comments
 (0)