summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Schulte <eric.schulte@gmx.com>2012-01-24 00:02:33 -0700
committerEric Schulte <eric.schulte@gmx.com>2012-01-24 00:02:33 -0700
commita706f424033fde4b334cfbd2185812bf5324a7d8 (patch)
tree88d7470109c8bc736621b1161700329b0c345fc9
parent11d31e89c46f348154519664a49d1f2466e9108c (diff)
downloadorg-mode-a706f424033fde4b334cfbd2185812bf5324a7d8.tar.gz
update tests
-rw-r--r--testing/examples/babel.org1
-rw-r--r--testing/lisp/test-ob.el4
2 files changed, 3 insertions, 2 deletions
diff --git a/testing/examples/babel.org b/testing/examples/babel.org
index dfe8d14..c551828 100644
--- a/testing/examples/babel.org
+++ b/testing/examples/babel.org
@@ -228,6 +228,7 @@ src_sh{echo 3} Here is one at the beginning of a line.
* using the =:noweb-ref= header argument
:PROPERTIES:
:ID: 54d68d4b-1544-4745-85ab-4f03b3cbd8a0
+ :noweb-sep: ""
:END:
#+begin_src sh :tangle yes :noweb yes :shebang #!/bin/sh
diff --git a/testing/lisp/test-ob.el b/testing/lisp/test-ob.el
index 3eaedfc..c819fac 100644
--- a/testing/lisp/test-ob.el
+++ b/testing/lisp/test-ob.el
@@ -566,11 +566,11 @@ on two lines
#+end_src
#+name: foo
-#+begin_src sh
+#+begin_src sh :noweb-sep \"\"
bar
#+end_src
-#+begin_src sh :noweb-ref foo
+#+begin_src sh :noweb-ref foo :noweb-sep \"\"
baz
#+end_src"
(should (string= (org-babel-expand-noweb-references) "barbaz"))))