summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Schulte <schulte.eric@gmail.com>2010-10-20 14:36:20 -0600
committerDan Davison <davison@stats.ox.ac.uk>2010-10-21 13:06:56 +0100
commit6fa1ae974aace7162c84c5878a926f9fd5286ae8 (patch)
tree147f85b4f7a689bcf3d34dcb85b654081cd3516a
parent60423d28057bd31eafe4d200ee9c3abba7a034da (diff)
downloadorg-mode-6fa1ae974aace7162c84c5878a926f9fd5286ae8.tar.gz
minor test cleanup
-rw-r--r--testing/lisp/test-ob-lob.el1
-rw-r--r--testing/lisp/test-ob-sh.el4
2 files changed, 2 insertions, 3 deletions
diff --git a/testing/lisp/test-ob-lob.el b/testing/lisp/test-ob-lob.el
index f3ae40e..099b5c2 100644
--- a/testing/lisp/test-ob-lob.el
+++ b/testing/lisp/test-ob-lob.el
@@ -33,7 +33,6 @@
"69fbe856-ca9c-4f20-9146-826d2f488c1d"
(move-beginning-of-line 1)
(forward-line 1)
- (message (buffer-substring (point-at-bol) (point-at-eol)))
(should (string= "testing" (org-babel-lob-execute
(org-babel-lob-get-info))))
(forward-line 1)
diff --git a/testing/lisp/test-ob-sh.el b/testing/lisp/test-ob-sh.el
index 929bac5..d463894 100644
--- a/testing/lisp/test-ob-sh.el
+++ b/testing/lisp/test-ob-sh.el
@@ -25,9 +25,9 @@
"Expanded shell bodies should not start with a blank line
unless the body of the tangled block does."
(should-not (string-match "^[\n\r][\t ]*[\n\r]"
- (org-babel-expand-body:sh "echo 2" '())))
+ (org-babel-expand-body:generic "echo 2" '())))
(should (string-match "^[\n\r][\t ]*[\n\r]"
- (org-babel-expand-body:sh "\n\necho 2" '()))))
+ (org-babel-expand-body:generic "\n\necho 2" '()))))
(ert-deftest test-ob-sh/dont-error-on-empty-results ()
"Was throwing an elisp error when shell blocks threw errors and