Browse Source

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.
Ihor Radchenko 3 years ago
parent
commit
885808fd58
1 changed files with 1 additions and 1 deletions
  1. 1 1
      testing/lisp/test-org.el

+ 1 - 1
testing/lisp/test-org.el

@@ -5857,7 +5857,7 @@ Paragraph<point>"
    (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"