]> git.eshelyaron.com Git - emacs.git/commit
mh-utils-tests: Add new tests of "folders +/"
authorStephen Gildea <stepheng+emacs@gildea.com>
Wed, 24 Nov 2021 15:27:18 +0000 (07:27 -0800)
committerStephen Gildea <stepheng+emacs@gildea.com>
Wed, 24 Nov 2021 15:27:18 +0000 (07:27 -0800)
commitf1fcd321ff40315442cd77084c444585948bea85
tree1a2f6393f0c30abbc372d59d5fbe5dd2d4fc26d0
parent7dfa758fef58dbfcd00baaea374260d5d3510b7f
mh-utils-tests: Add new tests of "folders +/"

* test/lisp/mh-e/mh-utils-tests.el
(mh-sub-folders-actual, mh-sub-folders): Add new tests of "folders +/".
Rewrite tests that were using 'assoc' to use 'member' instead, so that
on failure, ERT logs the list of which the element was not a member,
rather than the 'nil' returned by 'assoc'.
(mh-test-variant-handles-plus-slash): Factor out new helper function.
(mh-folder-completion-function-08-plus-slash)
(mh-folder-completion-function-09-plus-slash-tmp):
Use new helper function.
* test/lisp/mh-e/test-all-mh-variants.sh: LD_LIBRARY_PATH unnecessary.
test/lisp/mh-e/mh-utils-tests.el
test/lisp/mh-e/test-all-mh-variants.sh