aboutsummaryrefslogtreecommitdiff
path: root/tests.el
diff options
context:
space:
mode:
authorSean Allred <code@seanallred.com>2014-10-30 22:40:20 -0400
committerSean Allred <code@seanallred.com>2014-10-30 22:40:20 -0400
commit3a4af37c6fd4efee44a6189ae93608f671c80f82 (patch)
tree412bd8f59bb207e3a8e9aa25f7979a5060acd3f6 /tests.el
parentbc483a2a41c69214a26c4d6d3eb073d9870168c5 (diff)
Implement question list retrieval
Diffstat (limited to 'tests.el')
-rw-r--r--tests.el11
1 files changed, 8 insertions, 3 deletions
diff --git a/tests.el b/tests.el
index b1aa3c2..bf9b94e 100644
--- a/tests.el
+++ b/tests.el
@@ -1,12 +1,17 @@
;;; Tests
(add-to-list 'load-path ".")
+
(require 'stack-core)
+(require 'stack-question)
-(setq *t (stack-core-make-request "questions"))
+(setq
+ stack-tmp (stack-question-get-questions 'emacs)
+ stack-tmp-2 (stack-question-get-questions 'emacs 2))
-(prog1 t (prin1 (elt (stack-core-parse-questions *t) 0)
- #'insert))
+(prog1 nil
+ (stack-message "%S" stack-tmp)
+ (stack-message "%S" stack-tmp-2))
(defun -stack--nuke ()
(interactive)