From d9421900b400dec5f4dacf79e4c76729185eb591 Mon Sep 17 00:00:00 2001 From: Tim Chevalier Date: Mon, 14 Oct 2024 11:45:41 -0700 Subject: [PATCH] More tests --- testdata/message2/normalization.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/testdata/message2/normalization.json b/testdata/message2/normalization.json index 239dc036805d..283e3dac8a82 100644 --- a/testdata/message2/normalization.json +++ b/testdata/message2/normalization.json @@ -33,6 +33,16 @@ "params": [{"name": "\u0044\u0323\u0307", "value": "foo"}], "exp": "foo" }, + { + "description": "NFC: variables are compared to each other as-if normalized; decl is non-normalized, use is; reordering", + "src": ".local $\u0044\u0307\u0323 = {foo} {{{$\u1E0c\u0307}}}", + "exp": "foo" + }, + { + "description": "NFC: variables are compared to each other as-if normalized; decl is non-normalized, use is; special case mapping", + "src": ".local $\u0041\u030A\u0301 = {foo} {{{$\u01FA}}}", + "exp": "foo" + }, { "description": "NFC: keys are normalized", "src": ".local $x = {\u1E0C\u0307 :string} .match {$x} \u1E0A\u0323 {{Right}} * {{Wrong}}",