[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals-release/org 0d7cf4e 1/2: test-ob.el: Remove duplicate t
From: |
ELPA Syncer |
Subject: |
[elpa] externals-release/org 0d7cf4e 1/2: test-ob.el: Remove duplicate test |
Date: |
Wed, 24 Nov 2021 07:57:26 -0500 (EST) |
branch: externals-release/org
commit 0d7cf4e4024b36f568eb14fb876bc8a3463748ea
Author: Ihor Radchenko <yantar92@gmail.com>
Commit: Ihor Radchenko <yantar92@gmail.com>
test-ob.el: Remove duplicate test
---
testing/lisp/test-ob.el | 24 ------------------------
1 file changed, 24 deletions(-)
diff --git a/testing/lisp/test-ob.el b/testing/lisp/test-ob.el
index a5ae8e3..579d4df 100644
--- a/testing/lisp/test-ob.el
+++ b/testing/lisp/test-ob.el
@@ -1178,30 +1178,6 @@ echo \"test\"
(should (re-search-forward "=\"x\"=" nil t))
(forward-line))))
-(ert-deftest test-ob/commented-last-block-line-with-var ()
- (org-test-with-temp-text-in-file "
-#+begin_src emacs-lisp :var a=1
-;;
-#+end_src"
- (org-babel-next-src-block)
- (org-babel-execute-maybe)
- (re-search-forward "\\#\\+results:" nil t)
- (forward-line)
- (should (string=
- ""
- (buffer-substring-no-properties (point-at-bol) (point-at-eol)))))
- (org-test-with-temp-text-in-file "
-#+begin_src emacs-lisp :var a=2
-2;;
-#+end_src"
- (org-babel-next-src-block)
- (org-babel-execute-maybe)
- (re-search-forward "\\#\\+results:" nil t)
- (forward-line)
- (should (string=
- ": 2"
- (buffer-substring-no-properties (point-at-bol) (point-at-eol))))))
-
(defun test-ob-verify-result-and-removed-result (result buffer-text)
"Test helper function to test `org-babel-remove-result'.
A temp buffer is populated with BUFFER-TEXT, the first block is executed,