From 525df6b08719372e7f61439ffb4388bdbcbc3dc4 Mon Sep 17 00:00:00 2001 From: Felipe Ochoa Date: Thu, 3 Nov 2016 18:57:05 +0100 Subject: [PATCH] travis #5, deftest finder fix, different ppa for 24.4 --- .travis.yml | 2 +- rjsx-tests.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index b0e5906..d939351 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ env: install: - if [ "$EMACS" = "emacs24" ]; then - sudo add-apt-repository -y ppa:cassou/emacs && + sudo add-apt-repository -y ppa:fryda.tomas/emacs && sudo apt-get update -qq && sudo apt-get install -qq emacs24 emacs24-el && make install-deps; diff --git a/rjsx-tests.el b/rjsx-tests.el index 605793c..24f060e 100644 --- a/rjsx-tests.el +++ b/rjsx-tests.el @@ -161,7 +161,7 @@ Currently only forms with syntax errors are supported. "%s\\(\\s-\\|$\\)") "The regexp the `find-function' mechanisms use for finding RJSX test definitions.") -(setf (alist-get 'rjsx-deftest find-function-regexp-alist) 'rjsx--find-test-regexp) +(push '(rjsx-deftest . rjsx--find-test-regexp) find-function-regexp-alist) (defun rjsx-find-test-advice (orig-fn test-name) "Advice for `ert-find-test-other-window' (ORIG-FN) to find TEST-NAME."