aboutsummaryrefslogtreecommitdiff
path: root/test/ert-helper.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus@riseup.net>2024-09-20 20:37:35 +0200
committermarty hiatt <martianhiatus@riseup.net>2024-09-20 20:37:35 +0200
commit6803d680c6415e4cc6dca66e597776dae0394170 (patch)
tree7795f10a3b5337d4b2169d6eab3adec654fc7cc0 /test/ert-helper.el
parent3443b49c55f65ae8e0b07e93e1e0299ce1bf8ed6 (diff)
parent657bd3664749f66d9da0a8a5336b51c592670ecf (diff)
Merge branch 'develop'
Diffstat (limited to 'test/ert-helper.el')
-rw-r--r--test/ert-helper.el10
1 files changed, 7 insertions, 3 deletions
diff --git a/test/ert-helper.el b/test/ert-helper.el
index 4e634b0..5acdc68 100644
--- a/test/ert-helper.el
+++ b/test/ert-helper.el
@@ -15,9 +15,13 @@
(load-file "lisp/mastodon-async.el")
;; load tests in bulk to avoid using deprecated `cask exec'
-(let ((tests (cl-remove-if-not (lambda (x)
- (string-suffix-p "-tests.el" x))
- (directory-files "test/." t directory-files-no-dot-files-regexp))))
+(let* ((all-test-files
+ (directory-files "test/." t directory-files-no-dot-files-regexp))
+ (tests
+ (cl-remove-if-not
+ (lambda (x)
+ (string-suffix-p "-tests.el" x))
+ all-test-files)))
(mapc #'load-file tests))