branch: elpa/buttercup
commit a37d1a0996e9905e0f0e268d0e214649f2f7677d
Author: Philipp Stephani <[email protected]>
Commit: Philipp Stephani <[email protected]>
Fix compilation warning about undefined variable.
Dynamic variables always need to be defined before use.
---
buttercup.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/buttercup.el b/buttercup.el
index 3b2154a..4e3635d 100644
--- a/buttercup.el
+++ b/buttercup.el
@@ -1338,6 +1338,9 @@ or a macro/special form.")
A buffer with this name should only exist while running a test
spec, and should be killed after running the spec.")
+(defvar buttercup-reporter-batch-quiet-statuses nil
+ "Do not print results for any spec with any of the listed statuses.")
+
;;;###autoload
(defun buttercup-run-at-point ()
"Run the buttercup suite at point."
@@ -1619,9 +1622,6 @@ EVENT and ARG are described in `buttercup-reporter'."
(defvar buttercup-reporter-batch--failures nil
"List of failed specs of the current batch report.")
-(defvar buttercup-reporter-batch-quiet-statuses nil
- "Do not print results for any spec with any of the listed statuses.")
-
(defvar buttercup-reporter-batch--suite-stack nil
"Stack of unprinted suites.")