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:
Jack Kamm 2020-05-24 08:14:03 -07:00
parent 6149b6cb6d
commit eecee22665
1 changed files with 8 additions and 0 deletions

View File

@ -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