diff options
Diffstat (limited to 'test/lisp/replace-tests.el')
-rw-r--r-- | test/lisp/replace-tests.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lisp/replace-tests.el b/test/lisp/replace-tests.el index 417946c35fe..7f62a417a02 100644 --- a/test/lisp/replace-tests.el +++ b/test/lisp/replace-tests.el @@ -589,7 +589,7 @@ bound to HIGHLIGHT-LOCUS." (replace-tests-with-highlighted-occurrence highlight-locus (occur-mode-display-occurrence) (with-current-buffer (marker-buffer - (get-text-property (point) 'occur-target)) + (caar (get-text-property (point) 'occur-target))) (should (funcall check-overlays has-overlay))))))) (ert-deftest replace-regexp-bug45973 () |