From: Glenn Morris Date: Sun, 14 Jul 2019 20:28:54 +0000 (-0700) Subject: Update a ffap test X-Git-Tag: emacs-27.0.90~1908 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fe2141d15715afa2fbcfd6375503e65ff745dceb;p=emacs.git Update a ffap test * test/lisp/ffap-tests.el (ffap-other-window--bug-25352): Update for incompatible ffap-other-window change. --- 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")))))