From 92c0a1982b92958653c40eb59f70afed51c0a8f2 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Wed, 24 Dec 2014 10:47:46 +0100 Subject: [PATCH] test-org-element: Fix test * testing/lisp/test-org-element.el (test-org-element/inlinetask-parser): Fix test: degenerate inlinetasks cannot contain planning info. --- testing/lisp/test-org-element.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/testing/lisp/test-org-element.el b/testing/lisp/test-org-element.el index 73b428ae8..552bc24d3 100644 --- a/testing/lisp/test-org-element.el +++ b/testing/lisp/test-org-element.el @@ -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))))