aboutsummaryrefslogtreecommitdiff
path: root/test/ert-helper.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus@riseup.net>2024-08-17 10:06:20 +0200
committermarty hiatt <martianhiatus@riseup.net>2024-08-17 10:06:20 +0200
commit6d6ee27951ccf646149fd070707caecb23349125 (patch)
treed4c69fd2fe0636b1f46fec7ac03e1025c74ab5bf /test/ert-helper.el
parenta1b42fe543fbe952907c5b0a4fae71b2501d7f44 (diff)
parentd5999c7d467982845d53def10368810544dc2fa8 (diff)
Merge branch 'develop' into filters-crud
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))