diff options
Diffstat (limited to 'test/lisp/international/textsec-tests.el')
-rw-r--r-- | test/lisp/international/textsec-tests.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/lisp/international/textsec-tests.el b/test/lisp/international/textsec-tests.el index 3738545e073..50106bb955e 100644 --- a/test/lisp/international/textsec-tests.el +++ b/test/lisp/international/textsec-tests.el @@ -86,4 +86,11 @@ (should-not (textsec-mixed-numbers-p "8foo8")) (should (textsec-mixed-numbers-p "8foo৪"))) +(ert-deftest test-confusable () + (should (equal (textsec-unconfuse-string "ljeto") "ljeto")) + (should (textsec-ascii-confusable-p "ljeto")) + (should-not (textsec-ascii-confusable-p "ljeto")) + (should (equal (textsec-unconfuse-string "~") "〜")) + (should-not (textsec-ascii-confusable-p "~"))) + ;;; textsec-tests.el ends here |