aboutsummaryrefslogtreecommitdiff
path: root/tests.el
diff options
context:
space:
mode:
Diffstat (limited to 'tests.el')
-rw-r--r--tests.el10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests.el b/tests.el
index 57cd42b..b1aa3c2 100644
--- a/tests.el
+++ b/tests.el
@@ -1,6 +1,16 @@
;;; Tests
+(add-to-list 'load-path ".")
+(require 'stack-core)
+
(setq *t (stack-core-make-request "questions"))
(prog1 t (prin1 (elt (stack-core-parse-questions *t) 0)
#'insert))
+
+(defun -stack--nuke ()
+ (interactive)
+ (mapatoms
+ (lambda (symbol)
+ (if (string-prefix-p "stack-" (symbol-name symbol))
+ (unintern symbol)))))