From 4351063f6a318f6cd53e2c34700bb0d853a398f3 Mon Sep 17 00:00:00 2001 From: Timo Freiberg Date: Tue, 5 Mar 2019 14:28:05 +0100 Subject: [PATCH] [clojure] change run-all-tests alias to run-project-tests The previous docstring said that there's a bug with cider-test-run-project-tests but it seems to work fine now --- CHANGELOG.develop | 1 + layers/+lang/clojure/funcs.el | 7 ++----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.develop b/CHANGELOG.develop index 550cda839..6d4807f09 100644 --- a/CHANGELOG.develop +++ b/CHANGELOG.develop @@ -1058,6 +1058,7 @@ Other: (thanks to John Stevenson) - Call interactive `cider-test-*` functions interactively (thanks to Timo Freiberg) + - Change run-all-tests alias to run-project-tests (thanks to Timo Freiberg) **** Coffeescript - Improvements: - Added basic autocompletion (thanks to Codruț Constantin Gușoi) diff --git a/layers/+lang/clojure/funcs.el b/layers/+lang/clojure/funcs.el index a7f3724d3..b19635932 100644 --- a/layers/+lang/clojure/funcs.el +++ b/layers/+lang/clojure/funcs.el @@ -113,11 +113,8 @@ the focus." (cider-load-buffer) (cider-test-run-test)) -(defalias 'spacemacs/cider-test-run-all-tests #'spacemacs/cider-test-run-ns-tests - "ns tests are not actually *all* tests; - cider-test-run-project-tests would be better here, but - there currently is a bug with the function. Replace once - it gets fixed.") +(defalias 'spacemacs/cider-test-run-all-tests #'spacemacs/cider-test-run-project-tests + "Runs all tests in all project namespaces.") (defun spacemacs/cider-test-run-ns-tests () "Run namespace test."