X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2Femacs-address-cleaning.el;h=8423245ffefa86f08e5bd3e730f0cedba2c7289f;hp=19e9e055e37241dbbb4a20b035c31be445a3cd95;hb=dbdb860bb92b5eef0eadc6ffd1fd6d5bf64553b9;hpb=3699fedb3accf5fbd8085c0789d43c716d6ad3e9 diff --git a/test/emacs-address-cleaning.el b/test/emacs-address-cleaning.el index 19e9e055..8423245f 100644 --- a/test/emacs-address-cleaning.el +++ b/test/emacs-address-cleaning.el @@ -20,10 +20,20 @@ (let* ((input '("ДБ " "foo (at home) " "foo [at home] " - "Foo Bar")) + "Foo Bar" + "'Foo Bar' " + "\"'Foo Bar'\" " + "'\"Foo Bar\"' " + "'\"'Foo Bar'\"' " + "Fred Dibna \\[extraordinaire\\] ")) (expected '("ДБ " "foo (at home) " "foo [at home] " - "Foo Bar")) + "Foo Bar" + "Foo Bar " + "Foo Bar " + "Foo Bar " + "Foo Bar " + "Fred Dibna [extraordinaire] ")) (output (mapcar #'notmuch-show-clean-address input))) (notmuch-test-expect-equal output expected)))