summaryrefslogtreecommitdiff
path: root/test/make-test.el
blob: 621fc208f732c94c529d599bc4aea580c6e452f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
;;; -*- lexical-binding: t -*-
(setq load-prefer-newer t)

(let ((current-directory (file-name-directory load-file-name)))
  (setq evil-surround-test-path (expand-file-name "." current-directory))
  (setq evil-surround-root-path (expand-file-name ".." current-directory)))

(add-to-list 'load-path evil-surround-root-path)
(add-to-list 'load-path evil-surround-test-path)

(load (concat (file-name-as-directory evil-surround-test-path) "evil-surround-test.el") nil t)

(ert-run-tests-batch-and-exit)