emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master e8ed276 52/63: Make sure tests don't rely on running order


From: Noam Postavsky
Subject: [elpa] master e8ed276 52/63: Make sure tests don't rely on running order
Date: Mon, 17 Jul 2017 22:54:19 -0400 (EDT)

branch: master
commit e8ed276e2cba90126f694a90df28b5f5eca66376
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>

    Make sure tests don't rely on running order
    
    * yasnippet-tests.el (undo-indentation)
    (undo-indentation-multiline): Call `yas-reload-all'.
---
 yasnippet-tests.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/yasnippet-tests.el b/yasnippet-tests.el
index dbe984e..0ab1df1 100644
--- a/yasnippet-tests.el
+++ b/yasnippet-tests.el
@@ -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 ())



reply via email to

[Prev in Thread] Current Thread [Next in Thread]