diff options
| author | Craig Jennings <c@cjennings.net> | 2026-04-04 13:05:01 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-04-04 13:05:01 -0500 |
| commit | 6f32d5c8a32f78786a612d0105a32d6856fd87ea (patch) | |
| tree | 5dd7ce8550fb2beed1a917c69b4bf42a3f84336b /tests/test-chime-tooltip-day-calculation.el | |
| parent | bd71f97afce6503de150c6ac27051cbd5fd3a4ea (diff) | |
| download | chime-6f32d5c8a32f78786a612d0105a32d6856fd87ea.tar.gz chime-6f32d5c8a32f78786a612d0105a32d6856fd87ea.zip | |
Extract test boilerplate into shared test-bootstrap.el
All 50 test files that load chime.el repeated the same 8-line
initialization block (package-initialize, ert, dash, alert, async,
org-agenda, chime load). Replace with a single require of
test-bootstrap.el.
Also fix test-make-upcoming-item name collision between
test-chime-make-tooltip.el and test-chime--deduplicate-events-by-title.el.
Diffstat (limited to 'tests/test-chime-tooltip-day-calculation.el')
| -rw-r--r-- | tests/test-chime-tooltip-day-calculation.el | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/test-chime-tooltip-day-calculation.el b/tests/test-chime-tooltip-day-calculation.el index 5d0901d..1a25767 100644 --- a/tests/test-chime-tooltip-day-calculation.el +++ b/tests/test-chime-tooltip-day-calculation.el @@ -12,11 +12,7 @@ ;;; Code: -(require 'ert) -(require 'package) -(setq package-user-dir (expand-file-name "~/.emacs.d/elpa")) -(package-initialize) -(load (expand-file-name "../chime.el") nil t) +(require 'test-bootstrap (expand-file-name "test-bootstrap.el")) (require 'testutil-time (expand-file-name "testutil-time.el")) (require 'testutil-general (expand-file-name "testutil-general.el")) |
