[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/compat 50b26ffdf2 07/10: Install nadvice in compat-test
From: |
ELPA Syncer |
Subject: |
[elpa] externals/compat 50b26ffdf2 07/10: Install nadvice in compat-tests before loading compat |
Date: |
Mon, 28 Feb 2022 03:57:33 -0500 (EST) |
branch: externals/compat
commit 50b26ffdf22fe55b6e4829407e0534ed3ed4c1c9
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>
Install nadvice in compat-tests before loading compat
---
compat-tests.el | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/compat-tests.el b/compat-tests.el
index 43564d4807..8b7da1e614 100644
--- a/compat-tests.el
+++ b/compat-tests.el
@@ -34,6 +34,10 @@
(require 'ert)
+(unless (fboundp 'advice-add)
+ (require 'package)
+ (package-install 'nadvice))
+
(defvar compat-testing)
(let ((compat-testing t))
(load "compat.el"))
@@ -124,11 +128,6 @@ the compatibility function."
-(unless (fboundp 'advice-add)
- (require 'package)
- (package-initialize)
- (package-install 'nadvice))
-
(ert-deftest compat-string-search ()
"Check if `compat--string-search' was implemented correctly."
(compat-test string-search
- [elpa] externals/compat updated (ab08067970 -> 8792ab17be), ELPA Syncer, 2022/02/28
- [elpa] externals/compat 0faf5f469c 03/10: Merge branch 'master' into testing, ELPA Syncer, 2022/02/28
- [elpa] externals/compat 5d4fdf41db 01/10: Merge byte compilation output into a single file, ELPA Syncer, 2022/02/28
- [elpa] externals/compat ccc8b1fd36 02/10: Compress and merge the compiled result of compat.elc, ELPA Syncer, 2022/02/28
- [elpa] externals/compat 50b26ffdf2 07/10: Install nadvice in compat-tests before loading compat,
ELPA Syncer <=
- [elpa] externals/compat 28f57d52a0 06/10: Fix copyright for compat-font-lock.el, ELPA Syncer, 2022/02/28
- [elpa] externals/compat a793b0b6e9 05/10: Extract font-locking into compat-font-lock.el, ELPA Syncer, 2022/02/28
- [elpa] externals/compat 4d3d0bf680 08/10: Fix duplicate definition testing checking, ELPA Syncer, 2022/02/28
- [elpa] externals/compat 8792ab17be 10/10: Merge branch 'testing', ELPA Syncer, 2022/02/28
- [elpa] externals/compat c91756bad6 04/10: Have a prefixed minimal compatibility expand to nil, ELPA Syncer, 2022/02/28
- [elpa] externals/compat 164672060f 09/10: Only generate verbose expansions when testing, ELPA Syncer, 2022/02/28