need to turn on noweb expansion in test

This commit is contained in:
Eric Schulte 2013-12-11 07:17:26 -07:00
parent 031d2565f7
commit 20852aa958
1 changed files with 2 additions and 2 deletions

View File

@ -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\")