notmuch/test/emacs-address-cleaning.sh
David Edmondson cbc4876a33 emacs: Avoid mail-header-parse-address' in notmuch-show-clean-address'.
`mail-header-parse-address' expects un-decoded mailbox parts, which is
not what we have at this point. Replace it with simple string
deconstruction.

Mark the corresponding test as no longer broken.

Minor whitespace cleanup.
2012-01-27 07:58:58 -04:00

18 lines
547 B
Bash
Executable file

#!/usr/bin/env bash
test_description="emacs address cleaning"
. test-lib.sh
test_begin_subtest "notmuch-test-address-clean part 1"
test_emacs_expect_t \
'(load "emacs-address-cleaning.el") (notmuch-test-address-cleaning-1)'
test_begin_subtest "notmuch-test-address-clean part 2"
test_emacs_expect_t \
'(load "emacs-address-cleaning.el") (notmuch-test-address-cleaning-2)'
test_begin_subtest "notmuch-test-address-clean part 3"
test_emacs_expect_t \
'(load "emacs-address-cleaning.el") (notmuch-test-address-cleaning-3)'
test_done