|
10 | 10 | (defvar cpt-path |
11 | 11 | (f-parent (f-this-file))) |
12 | 12 |
|
13 | | -(defvar emacs-fireplace-test-path |
| 13 | +(defvar fireplace-test-path |
14 | 14 | (f-dirname (f-this-file))) |
15 | 15 |
|
16 | | -(defvar emacs-fireplace-root-path |
17 | | - (f-parent emacs-fireplace-test-path)) |
| 16 | +(defvar fireplace-root-path |
| 17 | + (f-parent fireplace-test-path)) |
18 | 18 |
|
19 | | -(defvar emacs-fireplace-sandbox-path |
20 | | - (f-expand "sandbox" emacs-fireplace-test-path)) |
| 19 | +(defvar fireplace-sandbox-path |
| 20 | + (f-expand "sandbox" fireplace-test-path)) |
21 | 21 |
|
22 | | -(when (f-exists? emacs-fireplace-sandbox-path) |
23 | | - (error "Something is already in %s. Check and destroy it yourself" emacs-fireplace-sandbox-path)) |
| 22 | +(when (f-exists? fireplace-sandbox-path) |
| 23 | + (error "Something is already in %s. Check and destroy it yourself" fireplace-sandbox-path)) |
24 | 24 |
|
25 | 25 | (defmacro within-sandbox (&rest body) |
26 | 26 | "Evaluate BODY in an empty sandbox directory." |
27 | | - `(let ((default-directory emacs-fireplace-sandbox-path)) |
28 | | - (when (f-exists? emacs-fireplace-sandbox-path) |
| 27 | + `(let ((default-directory fireplace-sandbox-path)) |
| 28 | + (when (f-exists? fireplace-sandbox-path) |
29 | 29 | (f-delete default-directory :force)) |
30 | | - (f-mkdir emacs-fireplace-sandbox-path) |
| 30 | + (f-mkdir fireplace-sandbox-path) |
31 | 31 | ,@body |
32 | 32 | (f-delete default-directory :force))) |
33 | 33 |
|
|
40 | 40 | (:exclude "*-test.el") |
41 | 41 | (:send-report nil) |
42 | 42 | (:report-file "/tmp/undercover-report.json")) |
43 | | -(require 'emacs-fireplace) |
| 43 | +(require 'fireplace) |
44 | 44 |
|
45 | 45 | (provide 'test-helper) |
46 | 46 | ;;; test-helper.el ends here |
0 commit comments