From 885808fd58ab4595d265a38227da0be81d9af6b9 Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Sun, 17 Oct 2021 00:00:21 +0800 Subject: [PATCH] Fix incorrectly written test * testing/lisp/test-org.el (test-org/entry-get): The test was passing in the past because of bug in org.el. --- testing/lisp/test-org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/lisp/test-org.el b/testing/lisp/test-org.el index 378b35c3d..f7c84ba1b 100644 --- a/testing/lisp/test-org.el +++ b/testing/lisp/test-org.el @@ -5857,7 +5857,7 @@ Paragraph" (equal "1 2" (org-test-with-temp-text - "* H1\n:PROPERTIES:\n:A: 1\n:END:\n* H2.1\n* H2.2\n:PROPERTIES:\n:A+: 2\n:END:" + "* H1\n:PROPERTIES:\n:A: 1\n:END:\n** H2.1\n** H2.2\n:PROPERTIES:\n:A+: 2\n:END:" (org-entry-get (point-max) "A" t)))) (should (equal "1"