branch: elpa/buttercup
commit b3bb12a825cfd41067736c38469efbd6b322fd99
Author: Jorgen Schaefer <[email protected]>
Commit: Jorgen Schaefer <[email protected]>
buttercup-run-discover: Fix regexp.
Should find test-* files now, too.
---
buttercup.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/buttercup.el b/buttercup.el
index 492b435..4088eb2 100644
--- a/buttercup.el
+++ b/buttercup.el
@@ -620,7 +620,7 @@ Takes directories as command line arguments, defaulting to
the
current directory."
(dolist (dir (or command-line-args-left '(".")))
(dolist (file (directory-files-recursively dir
- "\\'test-\\|-test.el\\'"))
+ "\\`test-\\|-test.el\\'"))
(when (not (string-match "/\\." file))
(load file nil t))))
(buttercup-run))