From 8d9ca0eac15be3fedefb7404ea1b65882cab55ae Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Sat, 15 Jan 2022 19:48:24 +0800 Subject: [PATCH] test-org/entry-get: Add test checking reported bug See https://list.orgmode.org/orgmode/87zgrqqlcs.fsf@toloe.se/ --- testing/lisp/test-org.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/testing/lisp/test-org.el b/testing/lisp/test-org.el index c50d95f65..ce4d7b9dd 100644 --- a/testing/lisp/test-org.el +++ b/testing/lisp/test-org.el @@ -5869,6 +5869,10 @@ Paragraph" (org-test-with-temp-text "* H\n:PROPERTIES:\n:A: 1\n:END:\n** H2" (let ((org-use-property-inheritance nil)) (org-entry-get (point-max) "A" 'selective)))) + (should-not + (org-test-with-temp-text "* H\n:PROPERTIES:\n:A: 1\n:END:\n* H2" + (let ((org-use-property-inheritance t)) + (org-entry-get (point-max) "A" t)))) (should (equal "1 2"