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

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

[elpa] master 4ab9cb5 04/51: Set test to fail with newer org version


From: Noam Postavsky
Subject: [elpa] master 4ab9cb5 04/51: Set test to fail with newer org version
Date: Sun, 13 May 2018 13:11:39 -0400 (EDT)

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

    Set test to fail with newer org version
    
    * yasnippet-tests.el (yas-org-native-tab-in-source-block): Expect to
    fail for org 9.x.
---
 yasnippet-tests.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/yasnippet-tests.el b/yasnippet-tests.el
index bc3bef0..2beb5ee 100644
--- a/yasnippet-tests.el
+++ b/yasnippet-tests.el
@@ -1340,7 +1340,7 @@ TODO: be meaner"
 
 (ert-deftest yas-org-native-tab-in-source-block ()
   "Test expansion of snippets in org source blocks."
-  :expected-result (if (fboundp 'org-in-src-block-p)
+  :expected-result (if (and (fboundp 'org-in-src-block-p) (version< 
(org-version) "9"))
                        :passed :failed)
   (yas-saving-variables
    (yas-with-snippet-dirs



reply via email to

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