From 57df3f466b89888e60ed8b071022c53e1ffb774d Mon Sep 17 00:00:00 2001 From: Danila Danko Date: Thu, 28 Nov 2024 19:50:35 +0300 Subject: [PATCH] feat(eo-phi-normalizer): add test for empty parentheses --- eo-phi-normalizer/test/eo/phi/from-eo/as-phi.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/eo-phi-normalizer/test/eo/phi/from-eo/as-phi.yaml b/eo-phi-normalizer/test/eo/phi/from-eo/as-phi.yaml index 979b11eb0..786a52a38 100644 --- a/eo-phi-normalizer/test/eo/phi/from-eo/as-phi.yaml +++ b/eo-phi-normalizer/test/eo/phi/from-eo/as-phi.yaml @@ -62,3 +62,17 @@ tests: ⟧ ⟧ } + - name: "Prints empty parentheses" + input: | + {⟦ m ↦ ⟦ x ↦ ⟦ ⟧ ⟧() ⟧} + normalized: | + {⟦ m ↦ ⟦ x ↦ ⟦ ⟧ ⟧() ⟧} + prettified: | + { + ⟦ + m ↦ ⟦ + x ↦ ⟦ ⟧ + ⟧ + () + ⟧ + }