forked from mirrors/org-mode
test-ob-python.el: Add test for multiline-string variables
* testing/lisp/test-ob-python.el (test-ob-python/multiline-var): Add
test for multiline-string variable issue that was fixed in 6149b6cb6
.
This commit is contained in:
parent
6149b6cb6d
commit
eecee22665
|
@ -173,6 +173,14 @@ _ = 'failure'
|
|||
#+end_src"
|
||||
(org-babel-execute-src-block)))))
|
||||
|
||||
(ert-deftest test-ob-python/multiline-var ()
|
||||
(should
|
||||
(equal "a\nb\nc"
|
||||
(org-test-with-temp-text "#+begin_src python :var text=\"a\\nb\\nc\"
|
||||
return text
|
||||
#+end_src"
|
||||
(org-babel-execute-src-block)))))
|
||||
|
||||
(provide 'test-ob-python)
|
||||
|
||||
;;; test-ob-python.el ends here
|
||||
|
|
Loading…
Reference in New Issue