aboutsummaryrefslogtreecommitdiff
path: root/test/util.el
diff options
context:
space:
mode:
authorSean Allred <allred.sean@gmail.com>2014-11-02 09:26:38 -0500
committerSean Allred <allred.sean@gmail.com>2014-11-02 09:26:38 -0500
commit6766f1175ac3fad1a2928ff1f798e9c11caf465d (patch)
tree4377a39ec2cd28162cbd3db9ce6cd5bb515783b7 /test/util.el
parent796937d412f79c5caf964cc26f81f60e130d035e (diff)
parent39ec0ba8a34b3764fcf46f0e5deb1133b0e70e2c (diff)
Merge pull request #5 from vermiculus/convenience-functions
Add a convenience function to sort through large data structures. Also move tests to test/ and add sample data for real use-case tests later.
Diffstat (limited to 'test/util.el')
-rw-r--r--test/util.el12
1 files changed, 0 insertions, 12 deletions
diff --git a/test/util.el b/test/util.el
deleted file mode 100644
index 7d5937f..0000000
--- a/test/util.el
+++ /dev/null
@@ -1,12 +0,0 @@
-(defmacro stack-test-get-sample-data (method &optional directory)
- (with-current-buffer
- (find-file-noselect
- (concat "data-samples/"
- (when directory (concat directory "/"))
- method ".el"))
- (eval (read (buffer-string)))))
-
-(setq stack-test-data-questions
- (stack-test-get-sample-data "questions")
- stack-test-data-sites
- (stack-test-get-sample-data "sites"))