bugfix: also exit all snippets at end of should-expand test

This commit is contained in:
João Távora 2012-04-22 16:30:58 +01:00
parent 4ae3bc0aff
commit a948b92aa2

View File

@ -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)