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
   :PROPERTIES:
   :ID:       54d68d4b-1544-4745-85ab-4f03b3cbd8a0
+  :noweb-sep: ""
   :END:
 
 #+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
 
 #+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"))))