mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-05 06:12:59 +00:00
ob-get-src-block-info wasn't correctly returning the name of the code block * lisp/ob-lob.el (org-babel-lob-ingest): now returns the count of ingested code blocks * lisp/ob.el (org-babel-get-src-block-info): walks up possible additional header arg lines before checking for the code block name (org-babel-merge-params): can now handle empty variables gracefully
32 lines
696 B
EmacsLisp
32 lines
696 B
EmacsLisp
;;; test-ob-lob.el
|
||
|
||
;; Copyright (c) 2010 Eric Schulte
|
||
;; Authors: Eric Schulte
|
||
|
||
;; Released under the GNU General Public License version 3
|
||
;; see: http://www.gnu.org/licenses/gpl-3.0.html
|
||
|
||
;;;; Comments:
|
||
|
||
;; Template test file for Org-mode tests
|
||
|
||
|
||
;;; Code:
|
||
(let ((load-path (cons (expand-file-name
|
||
".." (file-name-directory
|
||
(or load-file-name buffer-file-name)))
|
||
load-path)))
|
||
(require 'org-test)
|
||
(require 'org-test-ob-consts))
|
||
|
||
|
||
;;; Tests
|
||
(ert-deftest test-ob-lob/ingest ()
|
||
"Test the ingestion of an org-mode file."
|
||
(should (< 0 (org-babel-lob-ingest
|
||
(expand-file-name "babel.org" org-test-example-dir)))))
|
||
|
||
(provide 'test-ob-lob)
|
||
|
||
;;; test-ob-lob.el ends here
|