test-org-element: Fix test

* testing/lisp/test-org-element.el (test-org-element/inlinetask-parser):
  Fix test: degenerate inlinetasks cannot contain planning info.
This commit is contained in:
Nicolas Goaziou 2014-12-24 10:47:46 +01:00
parent 4947d25c7c
commit 92c0a1982b
1 changed files with 7 additions and 0 deletions

View File

@ -1147,6 +1147,13 @@ Contents
(should
(org-test-with-temp-text "
*************** Task
DEADLINE: <2012-03-29 thu.>
*************** END"
(forward-line)
(org-element-property :deadline (org-element-at-point))))
(should-not
(org-test-with-temp-text "
*************** Task
DEADLINE: <2012-03-29 thu.>"
(forward-line)
(org-element-property :deadline (org-element-at-point))))