浏览代码

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 年之前
父节点
当前提交
885808fd58
共有 1 个文件被更改,包括 1 次插入1 次删除
  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"