commit 181d619e96cd3275e69e010486169553c13479e7
parent 130af0e520bd33d761687b5184ac7a99897efa32
Author: Iqbal Ansari <iqbalansari02@yahoo.com>
Date: Tue, 21 Feb 2017 13:51:18 +0530
'load' as opposed to 'require' the test-helper file in tests
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/test/emojify-test.el b/test/emojify-test.el
@@ -7,7 +7,8 @@
;;; Code:
;; For interactive testing
-(require 'test-helper (expand-file-name "test-helper.el"))
+(unless noninteractive
+ (load (expand-file-name "test-helper.el") t))
;; Used for testing integration with programming modes
(require 'org)