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

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

[elpa] master a467019 175/177: `yas-minor-mode' assertion broke a test.


From: João Távora
Subject: [elpa] master a467019 175/177: `yas-minor-mode' assertion broke a test. Good. Fix it.
Date: Sat, 28 Mar 2015 15:41:45 +0000

branch: master
commit a46701966a5abb90c3ca97625b1512ef5859384e
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>

    `yas-minor-mode' assertion broke a test. Good. Fix it.
    
    * yasnippet-tests.el
    (be-careful-when-escaping-in-yas-selected-text-2): Add
    `yas-minor-mode'.
---
 yasnippet-tests.el |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/yasnippet-tests.el b/yasnippet-tests.el
index 150e1d0..0f11352 100644
--- a/yasnippet-tests.el
+++ b/yasnippet-tests.el
@@ -201,6 +201,7 @@
 
 (ert-deftest be-careful-when-escaping-in-yas-selected-text-2 ()
   (with-temp-buffer
+    (yas-minor-mode 1)
     (let ((yas-selected-text "He)}o world!"))
       (yas-expand-snippet "Look ma! ${1:`(yas-selected-text)`} OK?")
       (should (string= (yas--buffer-contents) "Look ma! He)}o world! OK?")))))



reply via email to

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