[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master fe2141d: Update a ffap test
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] master fe2141d: Update a ffap test |
Date: |
Sun, 14 Jul 2019 16:29:08 -0400 (EDT) |
branch: master
commit fe2141d15715afa2fbcfd6375503e65ff745dceb
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>
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 5b2f43c..3aa2812 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")))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master fe2141d: Update a ffap test,
Glenn Morris <=