test-org-element/cache: Fix typo

This commit is contained in:
Ihor Radchenko 2022-01-21 20:53:11 +08:00
parent 5ac2b2291b
commit 846226a202
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 1 additions and 1 deletions

View File

@ -4099,7 +4099,7 @@ Text
(should-not (eq 'comment (org-element-type (org-element-at-point))))
(should (eq (org-element-at-point) (org-element-at-point 1)))))
(should (eq 'headline
(org-test-with-temp-text "* H1\nP1\n<point*H2\n"
(org-test-with-temp-text "* H1\nP1\n<point>* H2\n"
(let ((org-element-use-cache t))
(org-element-cache-map #'ignore :granularity 'element)
(insert "Blah\n")