From fe2141d15715afa2fbcfd6375503e65ff745dceb Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sun, 14 Jul 2019 13:28:54 -0700 Subject: [PATCH] Update a ffap test * test/lisp/ffap-tests.el (ffap-other-window--bug-25352): Update for incompatible ffap-other-window change. --- test/lisp/ffap-tests.el | 4 +--- 1 file changed, 1 insertion(+), 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"))))) -- 2.39.2