|
@@ -825,6 +825,10 @@ CLOCK: [2012-01-01 sun. 00:01]--[2012-01-01 sun. 00:02] => 0:01"
|
|
|
"Test `inline-src-block' parser."
|
|
|
(should
|
|
|
(org-test-with-temp-text "src_emacs-lisp{(+ 1 1)}"
|
|
|
+ (org-element-map (org-element-parse-buffer) 'inline-src-block 'identity)))
|
|
|
+ ;; Test parsing at the beginning of an item.
|
|
|
+ (should
|
|
|
+ (org-test-with-temp-text "- src_emacs-lisp{(+ 1 1)}"
|
|
|
(org-element-map (org-element-parse-buffer) 'inline-src-block 'identity))))
|
|
|
|
|
|
|