Browse Source

testing/: Update two tests

The current Emacs trunk bumped to version >24.2.50 because a new
release Emacs 24.2 has been decided.  `cl-map' is not an alias for
`map' in Emacs < 24.2.50 -- so take this into account in some tests.
Bastien Guerry 7 years ago
parent
commit
00e5c278fd
2 changed files with 2 additions and 2 deletions
  1. 1 1
      testing/examples/babel.org
  2. 1 1
      testing/lisp/test-ob.el

+ 1 - 1
testing/examples/babel.org

@@ -113,7 +113,7 @@
 #+name: pascals-triangle
 #+begin_src emacs-lisp :var n=5 :exports both
   (require 'cl)
-  (defalias 'my-map (if (org-version-check "24.1.50" "cl" :predicate)
+  (defalias 'my-map (if (org-version-check "24.2.50" "cl" :predicate)
                         'cl-map
                       'map))
   (defun pascals-triangle (n)

+ 1 - 1
testing/lisp/test-ob.el

@@ -181,7 +181,7 @@
 #+headers: :var letters='(a b c d e f g)
 #+begin_src emacs-lisp :var numbers='(1 2 3 4 5 6 7)
   (require 'cl)
-  (defalias 'my-map (if (org-version-check \"24.1.50\" \"cl\" :predicate)
+  (defalias 'my-map (if (org-version-check \"24.2.50\" \"cl\" :predicate)
                         'cl-map
                       'map))
   (my-map 'list #'list numbers letters)