summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/lisp/ffap-tests.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/lisp/ffap-tests.el b/test/lisp/ffap-tests.el
index 5b2f43cb2d3..3aa2812ec5a 100644
--- a/test/lisp/ffap-tests.el
+++ b/test/lisp/ffap-tests.el
@@ -71,11 +71,9 @@ Host = example.com\n")
"Test for Bug#25352. Checks that the window configuration is
left alone when opening a URL in an external browser."
(cl-letf* ((old (current-window-configuration))
- ((symbol-function 'ffap-prompter)
- (lambda () "https://www.gnu.org"))
(urls nil)
(ffap-url-fetcher (lambda (url) (push url urls) nil)))
- (should-not (ffap-other-window))
+ (should-not (ffap-other-window "https://www.gnu.org"))
(should (equal (current-window-configuration) old))
(should (equal urls '("https://www.gnu.org")))))