diff options
author | Marco Wahl <marcowahlsoft@gmail.com> | 2018-01-14 18:34:49 +0100 |
---|---|---|
committer | Marco Wahl <marcowahlsoft@gmail.com> | 2018-01-14 18:34:49 +0100 |
commit | 1062c63ee166d815e99a5f8ae864a0a854c9415f (patch) | |
tree | b3c85ce28cf0ce9a44ec78df408395e7a9ba6ae6 | |
parent | 34d1ec42901b83be941f3dfc43811d6e4993d794 (diff) | |
download | org-mode-1062c63ee166d815e99a5f8ae864a0a854c9415f.tar.gz |
test-ob-sed: Activate testing ob-sed
-rw-r--r-- | testing/lisp/test-ob-sed.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testing/lisp/test-ob-sed.el b/testing/lisp/test-ob-sed.el index c108240..1940f3f 100644 --- a/testing/lisp/test-ob-sed.el +++ b/testing/lisp/test-ob-sed.el @@ -19,6 +19,8 @@ ;; along with this program. If not, see <http://www.gnu.org/licenses/>. ;;; Code: + +(require 'ob-sed) (org-test-for-executable "sed") (unless (featurep 'ob-sed) (signal 'missing-test-dependency "Support for Sed code blocks")) @@ -27,7 +29,7 @@ "Test simple execution of script." (org-test-at-id "C7E7CA6A-2601-42C9-B534-4102D62E458D" (org-babel-next-src-block) - (should (string= "A processed sentence.\n" + (should (string= "A processed sentence." (org-babel-execute-src-block))))) (ert-deftest ob-sed-test/in-file-header-argument () @@ -38,7 +40,7 @@ (insert "A test file.") (write-file "test1.txt")) (org-babel-next-src-block) - (should (string= "A tested file.\n" + (should (string= "A tested file." (org-babel-execute-src-block)))))) (ert-deftest ob-sed-test/cmd-line-header-argument () |