瀏覽代碼

update tests

Eric Schulte 13 年之前
父節點
當前提交
a706f42403
共有 2 個文件被更改,包括 3 次插入2 次删除
  1. 1 0
      testing/examples/babel.org
  2. 2 2
      testing/lisp/test-ob.el

+ 1 - 0
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
 * using the =:noweb-ref= header argument
   :PROPERTIES:
   :PROPERTIES:
   :ID:       54d68d4b-1544-4745-85ab-4f03b3cbd8a0
   :ID:       54d68d4b-1544-4745-85ab-4f03b3cbd8a0
+  :noweb-sep: ""
   :END:
   :END:
 
 
 #+begin_src sh :tangle yes :noweb yes :shebang #!/bin/sh
 #+begin_src sh :tangle yes :noweb yes :shebang #!/bin/sh

+ 2 - 2
testing/lisp/test-ob.el

@@ -566,11 +566,11 @@ on two lines
 #+end_src
 #+end_src
 
 
 #+name: foo
 #+name: foo
-#+begin_src sh
+#+begin_src sh :noweb-sep \"\"
   bar
   bar
 #+end_src
 #+end_src
 
 
-#+begin_src sh :noweb-ref foo
+#+begin_src sh :noweb-ref foo :noweb-sep \"\"
   baz
   baz
 #+end_src"
 #+end_src"
     (should (string= (org-babel-expand-noweb-references) "barbaz"))))
     (should (string= (org-babel-expand-noweb-references) "barbaz"))))