mirror of
https://github.com/joaotavora/yasnippet.git
synced 2026-02-04 14:32:26 +00:00
bugfix: also exit all snippets at end of should-expand test
This commit is contained in:
@@ -155,7 +155,8 @@ TODO: correct this bug!"
|
||||
(let ((yas/fallback-behavior nil))
|
||||
(ert-simulate-command '(yas/expand)))
|
||||
(should (string= (buffer-substring-no-properties (point-min) (point-max))
|
||||
(cdr key-and-expansion)))))
|
||||
(cdr key-and-expansion))))
|
||||
(yas/exit-all-snippets))
|
||||
|
||||
(defun yas/should-not-expand (keys)
|
||||
(dolist (key keys)
|
||||
|
||||
Reference in New Issue
Block a user