branch: externals/hyperbole commit c33b36319b82a2b9ef9e3d3c24efef5f64e60c3d Author: Mats Lidell <mats.lid...@lidells.se> Commit: Mats Lidell <mats.lid...@lidells.se>
Correct mock and remove expected failed, master has been fixed --- test/hbut-tests.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/hbut-tests.el b/test/hbut-tests.el index 3974b03861..2e8e5caefa 100644 --- a/test/hbut-tests.el +++ b/test/hbut-tests.el @@ -3,7 +3,7 @@ ;; Author: Mats Lidell <ma...@gnu.org> ;; ;; Orig-Date: 30-may-21 at 09:33:00 -;; Last-Mod: 10-Apr-24 at 16:25:30 by Mats Lidell +;; Last-Mod: 14-Apr-24 at 21:52:52 by Mats Lidell ;; ;; SPDX-License-Identifier: GPL-3.0-or-later ;; @@ -782,13 +782,12 @@ See #10 for the proper way to add an ibutton name. (ert-deftest hypb--gbut-act-with-web-link () "Verify `gbut:act' with a web link calls browser." - :expected-result :failed (defvar global-but-file) (let ((global-but-file (make-temp-file "gbut" nil ".txt" "<[Link]> - \"https://savannah.gnu.org/projects/hyperbole/\"\n"))) (unwind-protect (mocklet ((gbut:file => global-but-file) - ((browse-url "https://savannah.gnu.org/projects/hyperbole/" nil) => t) + ((browse-url "https://savannah.gnu.org/projects/hyperbole/") => t) (hpath:find-noselect => (find-file-noselect global-but-file))) (gbut:act "Link")) (hy-delete-file-and-buffer global-but-file))))