diff options
| author | Lars Ingebrigtsen | 2022-01-20 09:54:38 +0100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2022-01-20 10:10:08 +0100 |
| commit | ea0060abfb88fb22dcbd43a9d9793d3d8b7906d7 (patch) | |
| tree | 239a157c9b32e4ea4a7f862de97f2850d59f0bdb | |
| parent | 21e96ce324f2302ee6fb84d387ceed6911aadd04 (diff) | |
| download | emacs-ea0060abfb88fb22dcbd43a9d9793d3d8b7906d7.tar.gz emacs-ea0060abfb88fb22dcbd43a9d9793d3d8b7906d7.zip | |
Add test for bug#51733
| -rw-r--r-- | test/lisp/international/textsec-tests.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/lisp/international/textsec-tests.el b/test/lisp/international/textsec-tests.el index fbf6713408a..31805671e18 100644 --- a/test/lisp/international/textsec-tests.el +++ b/test/lisp/international/textsec-tests.el | |||
| @@ -172,7 +172,10 @@ | |||
| 172 | "Lars Ingebrigtsen <larsi@\N{RIGHT-TO-LEFT OVERRIDE}gnus.org>")) | 172 | "Lars Ingebrigtsen <larsi@\N{RIGHT-TO-LEFT OVERRIDE}gnus.org>")) |
| 173 | 173 | ||
| 174 | (should (textsec-email-address-header-suspicious-p | 174 | (should (textsec-email-address-header-suspicious-p |
| 175 | "דגבא <foo@bar.com>"))) | 175 | "דגבא <foo@bar.com>")) |
| 176 | |||
| 177 | (should (textsec-email-address-suspicious-p | ||
| 178 | "Bob_Norbolwits@GCSsafetyACE.com"))) | ||
| 176 | 179 | ||
| 177 | (ert-deftest test-suspicious-url () | 180 | (ert-deftest test-suspicious-url () |
| 178 | (should-not (textsec-url-suspicious-p "http://example.ru/bar")) | 181 | (should-not (textsec-url-suspicious-p "http://example.ru/bar")) |