浏览代码

Remove no longer appropriate test

* testing/lisp/test-org.el (test-org/find-property): Remove a test.

For efficiency reasons, since
7a717f8f0415b822ad4b3d2af99869cff4b6f968, `org-find-property' cannot
match accumulated properties.  It still could be done with another
optional argument, at the cost of a slower algorithm, but is not
needed so far.
Nicolas Goaziou 10 年之前
父节点
当前提交
17752c379e
共有 1 个文件被更改,包括 1 次插入7 次删除
  1. 1 7
      testing/lisp/test-org.el

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

@@ -2763,13 +2763,7 @@ Text.
    (= 31
       (org-test-with-temp-text
 	  "* H1\n:PROPERTIES:\n:A: 1\n:END:\n* H2\n:PROPERTIES:\n:A: nil\n:END:"
-	(org-find-property "A" "nil"))))
-  ;; Optional argument is matched against real value, including PROP+
-  ;; syntax.
-  (should
-   (= 1
-      (org-test-with-temp-text "* H1\n:PROPERTIES:\n:A: 1\n:A+: 2\n:END:"
-	(org-find-property "A" "1 2")))))
+	(org-find-property "A" "nil")))))
 
 (ert-deftest test-org/entry-delete ()
   "Test `org-entry-delete' specifications."