aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2014-11-03 13:37:07 +0000
committerArtur Malabarba <bruce.connor.am@gmail.com>2014-11-03 13:37:07 +0000
commitffef03c69affa3b247785654c4c2856100044b1e (patch)
tree326a2dca6ca76e6487721d7506722d1dca928038 /test
parentb09dd861782b5926d8ac29459c2c3366bee2e70a (diff)
Fix test sample.
Diffstat (limited to 'test')
-rw-r--r--test/tests.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/tests.el b/test/tests.el
index 11914bb..efad2d0 100644
--- a/test/tests.el
+++ b/test/tests.el
@@ -6,13 +6,12 @@
(unintern symbol)))))
;;; Tests
-(defvar stack-test-data-dir
- (expand-file-name "data-samples/")
+(defvar stack-test-data-dir "data-samples/"
"")
(defun stack-test-sample-data (method &optional directory)
- (let ((file (concat stack-test-data-dir
- (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