From a948b92aa2ac217d0025e344eba30a5fd063f864 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Sun, 22 Apr 2012 16:30:58 +0100 Subject: [PATCH] bugfix: also exit all snippets at end of should-expand test --- yasnippet-tests.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/yasnippet-tests.el b/yasnippet-tests.el index 969eb066c..3d1830934 100755 --- a/yasnippet-tests.el +++ b/yasnippet-tests.el @@ -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) -- 2.39.2