Skip to content

Commit 81a7ab9

Browse files
committed
Fix test removing the 'emacs-' prefix
1 parent d4dc0fb commit 81a7ab9

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

features/support/env.el

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
(require 'f)
22

3-
(defvar emacs-fireplace-support-path
3+
(defvar fireplace-support-path
44
(f-dirname load-file-name))
55

6-
(defvar emacs-fireplace-features-path
7-
(f-parent emacs-fireplace-support-path))
6+
(defvar fireplace-features-path
7+
(f-parent fireplace-support-path))
88

9-
(defvar emacs-fireplace-root-path
10-
(f-parent emacs-fireplace-features-path))
9+
(defvar fireplace-root-path
10+
(f-parent fireplace-features-path))
1111

12-
(add-to-list 'load-path emacs-fireplace-root-path)
12+
(add-to-list 'load-path fireplace-root-path)
1313

1414
(require 'undercover)
1515
(undercover "*.el"
1616
(:exclude "*-test.el")
1717
(:report-file "/tmp/undercover-report.json"))
18-
(require 'emacs-fireplace)
18+
(require 'fireplace)
1919
(require 'espuds)
2020
(require 'ert)
2121

test/test-helper.el

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,24 @@
1010
(defvar cpt-path
1111
(f-parent (f-this-file)))
1212

13-
(defvar emacs-fireplace-test-path
13+
(defvar fireplace-test-path
1414
(f-dirname (f-this-file)))
1515

16-
(defvar emacs-fireplace-root-path
17-
(f-parent emacs-fireplace-test-path))
16+
(defvar fireplace-root-path
17+
(f-parent fireplace-test-path))
1818

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))
2121

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))
2424

2525
(defmacro within-sandbox (&rest body)
2626
"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)
2929
(f-delete default-directory :force))
30-
(f-mkdir emacs-fireplace-sandbox-path)
30+
(f-mkdir fireplace-sandbox-path)
3131
,@body
3232
(f-delete default-directory :force)))
3333

@@ -40,7 +40,7 @@
4040
(:exclude "*-test.el")
4141
(:send-report nil)
4242
(:report-file "/tmp/undercover-report.json"))
43-
(require 'emacs-fireplace)
43+
(require 'fireplace)
4444

4545
(provide 'test-helper)
4646
;;; test-helper.el ends here

0 commit comments

Comments
 (0)