Browse Source

need to turn on noweb expansion in test

Eric Schulte 11 years ago
parent
commit
20852aa958
1 changed files with 2 additions and 2 deletions
  1. 2 2
      testing/lisp/test-ob.el

+ 2 - 2
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 <<foo>> \" check noweb expansions\")