mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-16 09:50:25 +00:00
* test/lisp/minibuffer-tests.el (completion-table-subvert-test): New test
This commit is contained in:
parent
78c9c2a110
commit
18fc4ac529
@ -74,5 +74,11 @@
|
||||
'completion-table-with-predicate
|
||||
full-collection no-A nil))))))
|
||||
|
||||
(ert-deftest completion-table-subvert-test ()
|
||||
(let* ((origtable '("A-hello" "A-there"))
|
||||
(subvtable (completion-table-subvert origtable "B" "A")))
|
||||
(should (equal (try-completion "B-hel" subvtable)
|
||||
"B-hello"))))
|
||||
|
||||
(provide 'completion-tests)
|
||||
;;; completion-tests.el ends here
|
||||
|
Loading…
Reference in New Issue
Block a user