summaryrefslogtreecommitdiff
path: root/test/lisp/international/textsec-tests.el
diff options
context:
space:
mode:
Diffstat (limited to 'test/lisp/international/textsec-tests.el')
-rw-r--r--test/lisp/international/textsec-tests.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/lisp/international/textsec-tests.el b/test/lisp/international/textsec-tests.el
index 15b6b21b348..c946d850690 100644
--- a/test/lisp/international/textsec-tests.el
+++ b/test/lisp/international/textsec-tests.el
@@ -110,4 +110,9 @@
(should-not (textsec-whole-script-confusable-p "paypal" "pаypаl"))
(should (textsec-whole-script-confusable-p "scope""ѕсоре")))
+(ert-deftest test-suspiction-domain ()
+ (should (textsec-domain-suspicious-p "foo/bar.org"))
+ (should-not (textsec-domain-suspicious-p "foo.org"))
+ (should (textsec-domain-suspicious-p "f\N{LEFT-TO-RIGHT ISOLATE}oo.org")))
+
;;; textsec-tests.el ends here