diff options
author | Sean Allred <code@seanallred.com> | 2014-11-04 11:32:26 -0500 |
---|---|---|
committer | Sean Allred <code@seanallred.com> | 2014-11-04 11:32:26 -0500 |
commit | 1a780c0d887ec3933a0c9192a0b3c045be855a66 (patch) | |
tree | 3b764cfcd078ba942f51a3e6c665a927e4fe470b /test/tests.el | |
parent | 91ff815d03522c2b9601beb5b09118bad1569967 (diff) | |
parent | 52122c621bc21d7e254a5c7dd3e5241df7e9d370 (diff) |
Merge pull request #9 from vermiculus/UI-first-attempt
Question List Mode implementation
Diffstat (limited to 'test/tests.el')
-rw-r--r-- | test/tests.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/tests.el b/test/tests.el index e097244..efad2d0 100644 --- a/test/tests.el +++ b/test/tests.el @@ -6,10 +6,12 @@ (unintern symbol))))) ;;; Tests +(defvar stack-test-data-dir "data-samples/" + "") (defun stack-test-sample-data (method &optional directory) - (let ((file (concat "data-samples/" - (when directory (concat directory "/")) + (let ((file (concat (when directory (concat directory "/")) + stack-test-data-dir method ".el"))) (when (file-exists-p file) (with-temp-buffer |