1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Fix handling of folder "+/" in MH-E

* lisp/mh-e/mh-utils.el (mh-sub-folders): Fix handling of "+/".
* test/lisp/mh-e/mh-utils-tests.el
(mh-folder-completion-function-08-plus-slash)
(mh-folder-completion-function-09-plus-slash-tmp):
Fix errors made importing tests from mh-unit.el; remove declaration
that these tests are expected to fail.
This commit is contained in:
Mike Kupfer 2021-11-15 22:03:54 -08:00 committed by Stephen Gildea
parent cb0aa89bcf
commit d89d5e0f94
2 changed files with 8 additions and 5 deletions

View file

@ -437,8 +437,7 @@ and the `should' macro requires idempotent evaluation anyway."
(ert-deftest mh-folder-completion-function-08-plus-slash ()
"Test `mh-folder-completion-function' with `+/'."
:expected-result :failed ;to be fixed in a patch by mkupfer
(mh-test-folder-completion-1 "+/" "+/" "tmp/" nil)
(mh-test-folder-completion-1 "+/" "+/" "tmp/" t)
;; case "bb"
(with-mh-test-env
(should (equal nil
@ -447,8 +446,7 @@ and the `should' macro requires idempotent evaluation anyway."
(ert-deftest mh-folder-completion-function-09-plus-slash-tmp ()
"Test `mh-folder-completion-function' with `+/tmp'."
:expected-result :failed ;to be fixed in a patch by mkupfer
(mh-test-folder-completion-1 "+/tmp" "+/tmp" "tmp/" t))
(mh-test-folder-completion-1 "+/tmp" "+/tmp/" "tmp/" t))
(ert-deftest mh-folder-completion-function-10-plus-slash-abs-folder ()
"Test `mh-folder-completion-function' with `+/abso-folder'."