mirror of
https://github.com/qurator-spk/dinglehopper.git
synced 2025-06-09 11:50:00 +02:00
📝 Note that old terminals might not render the Unicode characters correctly
This commit is contained in:
parent
c4e85da5ab
commit
555f586775
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,8 @@ def test_editops():
|
|||
"""Test editops() in cases where dealing with grapheme clusters matters"""
|
||||
|
||||
# In these cases, one of the words has a composed form, the other one does not.
|
||||
# (Also, note that old terminal emulators might not render the combining characters
|
||||
# correctly, be sure to read in an editor.)
|
||||
assert editops("Schlyñ", "Schlym̃") == [("replace", 5, 5)]
|
||||
assert editops("oͤde", "öde") == [("replace", 0, 0)]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue