Browse Source

Fix test

* testing/lisp/test-org.el (test-org/return): Use `call-interactively'
so that `interactive' arguments are also checked.
Nicolas Goaziou 5 years ago
parent
commit
48b223d45d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      testing/lisp/test-org.el

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

@@ -1223,7 +1223,7 @@
      (let ((org-return-follows-link t)
 	   (org-link-search-must-match-exact-headline nil))
        (setq buffer-read-only t)
-       (org-return))
+       (call-interactively #'org-return))
      (looking-at-p "<<target>>")))
   ;; `org-return-follows-link' handle multi-line lines.
   (should