瀏覽代碼

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 12 年之前
父節點
當前提交
00e5c278fd
共有 2 個文件被更改,包括 2 次插入2 次删除
  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)