diff options
-rw-r--r-- | lulua/data/layouts/ar-ergoarabic.yaml | 2 | ||||
-rw-r--r-- | lulua/test_layout.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lulua/data/layouts/ar-ergoarabic.yaml b/lulua/data/layouts/ar-ergoarabic.yaml index a58a8d0..620ead1 100644 --- a/lulua/data/layouts/ar-ergoarabic.yaml +++ b/lulua/data/layouts/ar-ergoarabic.yaml @@ -123,7 +123,7 @@ layout: Br5: "٨" Br4: "٩" Br3: "٠" - Br1: "≠" + Br1: "≠" Cl5: "ڤ" diff --git a/lulua/test_layout.py b/lulua/test_layout.py index 45141ae..8e911da 100644 --- a/lulua/test_layout.py +++ b/lulua/test_layout.py @@ -35,7 +35,7 @@ def test_atomic (layout): for char in text: d = unicodedata.decomposition (char) # allow compat decompositions like … -> ... - if not d.startswith ('<compat> ') and not d.startswith ('<isolated> ') and not d.startswith ('<medial> ') and not d.startswith ('<initial> '): + if d.split (' ', 1)[0] not in {'<compat>', '<isolated>', '<medial>', '<initial>', '<noBreak>'}: assert d == '', (char, btn) @pytest.mark.parametrize("layout", defaultLayouts, ids=[l.name for l in defaultLayouts]) |