From 2afa91649868e865cd573c149f255acb8379c82f Mon Sep 17 00:00:00 2001 From: Artur Malabarba Date: Mon, 3 Nov 2014 01:50:44 +0000 Subject: Fix sampler function --- test/tests.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/tests.el b/test/tests.el index e097244..11914bb 100644 --- a/test/tests.el +++ b/test/tests.el @@ -6,9 +6,12 @@ (unintern symbol))))) ;;; Tests +(defvar stack-test-data-dir + (expand-file-name "data-samples/") + "") (defun stack-test-sample-data (method &optional directory) - (let ((file (concat "data-samples/" + (let ((file (concat stack-test-data-dir (when directory (concat directory "/")) method ".el"))) (when (file-exists-p file) -- cgit v1.2.3