diff options
| -rw-r--r-- | test/lisp/minibuffer-tests.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/lisp/minibuffer-tests.el b/test/lisp/minibuffer-tests.el index 77bfea93716..35df7cc17f1 100644 --- a/test/lisp/minibuffer-tests.el +++ b/test/lisp/minibuffer-tests.el | |||
| @@ -74,5 +74,11 @@ | |||
| 74 | 'completion-table-with-predicate | 74 | 'completion-table-with-predicate |
| 75 | full-collection no-A nil)))))) | 75 | full-collection no-A nil)))))) |
| 76 | 76 | ||
| 77 | (ert-deftest completion-table-subvert-test () | ||
| 78 | (let* ((origtable '("A-hello" "A-there")) | ||
| 79 | (subvtable (completion-table-subvert origtable "B" "A"))) | ||
| 80 | (should (equal (try-completion "B-hel" subvtable) | ||
| 81 | "B-hello")))) | ||
| 82 | |||
| 77 | (provide 'completion-tests) | 83 | (provide 'completion-tests) |
| 78 | ;;; completion-tests.el ends here | 84 | ;;; completion-tests.el ends here |