mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 21:13:04 +00:00
Make sure tests don't rely on running order
* yasnippet-tests.el (undo-indentation) (undo-indentation-multiline): Call `yas-reload-all'.
This commit is contained in:
parent
1a860bd50b
commit
e8ed276e2c
@ -183,6 +183,7 @@
|
||||
'((".emacs.d/snippets" ("emacs-lisp-mode" ("s" . "(setq $0)"))))
|
||||
(with-temp-buffer
|
||||
(emacs-lisp-mode)
|
||||
(yas-reload-all)
|
||||
(yas-minor-mode 1)
|
||||
(insert "(let\n(while s")
|
||||
(setq buffer-undo-list ())
|
||||
@ -199,6 +200,7 @@
|
||||
'((".emacs.d/snippets" ("js-mode" ("if" . "if ($1) {\n\n}\n"))))
|
||||
(with-temp-buffer
|
||||
(js-mode)
|
||||
(yas-reload-all)
|
||||
(yas-minor-mode 1)
|
||||
(insert "if\nabc = 123456789 + abcdef;")
|
||||
(setq buffer-undo-list ())
|
||||
|
Loading…
x
Reference in New Issue
Block a user