[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/hyperbole e9ed3706b5: Preload DEMO file to stabilize in
From: |
ELPA Syncer |
Subject: |
[elpa] externals/hyperbole e9ed3706b5: Preload DEMO file to stabilize interactive test case (#180) |
Date: |
Sat, 26 Mar 2022 17:57:40 -0400 (EDT) |
branch: externals/hyperbole
commit e9ed3706b526be696cbd9108e1cc6cb60bb3be7f
Author: Mats Lidell <mats.lidell@lidells.se>
Commit: GitHub <noreply@github.com>
Preload DEMO file to stabilize interactive test case (#180)
---
ChangeLog | 5 +++++
test/hib-kbd-tests.el | 7 ++++++-
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 7ebf46475d..4d307f4fc6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2022-03-26 Mats Lidell <matsl@gnu.org>
+
+* test/hib-kbd-tests.el (kbd-key-hy-demo-factorial-test): Preload DEMO
+ file to avoid race with *ert* display.
+
2022-03-20 Bob Weiner <rsw@gnu.org>
* HY-NEWS (New Tree Promotion/Demotion Keys):
diff --git a/test/hib-kbd-tests.el b/test/hib-kbd-tests.el
index 291181afac..bca9e0d56f 100644
--- a/test/hib-kbd-tests.el
+++ b/test/hib-kbd-tests.el
@@ -3,7 +3,7 @@
;; Author: Mats Lidell <matsl@gnu.org>
;;
;; Orig-Date: 30-Jan-21 at 12:00:00
-;; Last-Mod: 6-Feb-22 at 00:55:55 by Bob Weiner
+;; Last-Mod: 26-Mar-22 at 11:25:43 by Mats Lidell
;;
;; Copyright (C) 2021 Free Software Foundation, Inc.
;; See the "HY-COPY" file for license information.
@@ -36,6 +36,11 @@
(skip-unless (not noninteractive))
(unwind-protect
(progn
+ ;; Preload DEMO file to avoid race with *ert* buffer and set
+ ;; *ert* buffer current
+ (hypb:display-file-with-logo "DEMO")
+ (set-buffer "*ert*")
+
(should (hact 'kbd-key "C-u C-h h d d"))
(hy-test-helpers:consume-input-events)
(should (string= (buffer-name (current-buffer)) "DEMO" ))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/hyperbole e9ed3706b5: Preload DEMO file to stabilize interactive test case (#180),
ELPA Syncer <=