aboutsummaryrefslogtreecommitdiff
path: root/tests.el
diff options
context:
space:
mode:
Diffstat (limited to 'tests.el')
-rw-r--r--tests.el21
1 files changed, 0 insertions, 21 deletions
diff --git a/tests.el b/tests.el
deleted file mode 100644
index 0c2af0f..0000000
--- a/tests.el
+++ /dev/null
@@ -1,21 +0,0 @@
-(defun -stack--nuke ()
- (interactive)
- (mapatoms
- (lambda (symbol)
- (if (string-prefix-p "stack-" (symbol-name symbol))
- (unintern symbol)))))
-
-;;; Tests
-(setq debug-on-error t)
-
-(require 'stack-core)
-(require 'stack-question)
-
-(setq stack-core-remaining-api-requests-message-threshold 50000)
-
-(ert-deftest test-question-retrieve ()
- (should (stack-question-get-questions 'emacs)))
-
-(ert-deftest test-bad-request ()
- (should-error
- (stack-core-make-request "questions" '(()))))