From 20852aa958dc0421c9b23e45a7b748810c4370c5 Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Wed, 11 Dec 2013 07:17:26 -0700 Subject: [PATCH] need to turn on noweb expansion in test --- testing/lisp/test-ob.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/lisp/test-ob.el b/testing/lisp/test-ob.el index 9b39d839c..b41f33d8f 100644 --- a/testing/lisp/test-ob.el +++ b/testing/lisp/test-ob.el @@ -1206,7 +1206,7 @@ echo \"$data\" (should (not (funcall safe-p (append safe-args unsafe-args)))))) (ert-deftest test-ob/noweb-expansions-in-cache () - "Test location of header argument evaluation." + "Ensure that noweb expansions are expanded before caching." (let ((noweb-expansions-in-cache-var 0)) (org-test-with-temp-text " #+name: foo @@ -1215,7 +1215,7 @@ echo \"$data\" #+end_src #+name: bar -#+begin_src emacs-lisp :cache yes +#+begin_src emacs-lisp :noweb yes :cache yes (setq noweb-expansions-in-cache-var (+ 1 noweb-expansions-in-cache-var)) (concat <> \" check noweb expansions\")