emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/compat 88ab7dd9a5: Install nadvice in the tests if nece


From: ELPA Syncer
Subject: [elpa] externals/compat 88ab7dd9a5: Install nadvice in the tests if necessary
Date: Tue, 22 Feb 2022 12:57:26 -0500 (EST)

branch: externals/compat
commit 88ab7dd9a57aa69ae04e498ad645384ca0e1bb35
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>

    Install nadvice in the tests if necessary
    
    This is only really relevant for Emacs 24.3.
---
 compat-tests.el | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/compat-tests.el b/compat-tests.el
index 1acd9631f8..820927e6ac 100644
--- a/compat-tests.el
+++ b/compat-tests.el
@@ -121,6 +121,11 @@ the compatibility function."
 
 
 
+(require 'package)
+(package-initialize)
+(unless (package-installed-p 'nadvice)
+  (package-install 'nadvice))
+
 (ert-deftest compat-string-search ()
   "Check if `compat--string-search' was implemented correctly."
   (compat-test string-search



reply via email to

[Prev in Thread] Current Thread [Next in Thread]