mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 13:13:03 +00:00
bugfix: also exit all snippets at end of should-expand test
This commit is contained in:
parent
4ae3bc0aff
commit
a948b92aa2
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user