]> git.eshelyaron.com Git - emacs.git/commit
; completion-preview-tests.el: Deduplicate some test code
authorEshel Yaron <me@eshelyaron.com>
Mon, 24 Jun 2024 14:58:49 +0000 (16:58 +0200)
committerEshel Yaron <me@eshelyaron.com>
Mon, 24 Jun 2024 14:58:49 +0000 (16:58 +0200)
commit9a85e506b7a1e528ac43576bf393b06c3802b58f
tree7d856313568985b5b7545b64aa7e7310f3b9a97a
parentaaa987040c38bb5818b41199d9c60e6dbf591ee5
; completion-preview-tests.el: Deduplicate some test code

* test/lisp/completion-preview-tests.el
(completion-preview-tests--insert-and-preview): New function.
(completion-preview)
(completion-preview-multiple-matches)
(completion-preview-exact-match-only)
(completion-preview-function-capfs)
(completion-preview-non-exclusive-capfs)
(completion-preview-face-updates)
(completion-preview-capf-errors)
(completion-preview-complete)
(completion-preview-insert-calls-exit-function): Use it.
test/lisp/completion-preview-tests.el