aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/tests.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/tests.el b/test/tests.el
index d8a653b..59c3413 100644
--- a/test/tests.el
+++ b/test/tests.el
@@ -11,7 +11,9 @@
(concat "data-samples/"
(when directory (concat directory "/"))
method ".el"))
- (eval (read (buffer-string)))))
+ (eval (read (if (string-equal "" (buffer-string))
+ "'no-value"
+ (buffer-string))))))
(setq stack-test-data-questions
(stack-test-sample-data "questions")