diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-25 17:00:15 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-25 17:00:15 -0500 |
| commit | c83b13ea891d034190b7b8582ce45f2bfaf84f40 (patch) | |
| tree | 24eaf61c32566673af4acad04c42706379c9580f /tests/test-custom-buffer-file--view-email-in-buffer.el | |
| parent | 9aa180ea57f79f79c156a0956677e13c5263b478 (diff) | |
| download | dotemacs-c83b13ea891d034190b7b8582ce45f2bfaf84f40.tar.gz dotemacs-c83b13ea891d034190b7b8582ce45f2bfaf84f40.zip | |
test(system-defaults): cover custom-file, backups, and GC-hook registration
system-defaults.el had no coverage for its settings, only its functions (in test-system-defaults-functions.el) and the vc-follow-symlinks default. I added three settings smoke tests: custom-file is redirected to a temp trashbin rather than the repo, backups land under user-emacs-directory/backups, and the minibuffer GC hooks are actually wired onto the minibuffer hooks.
I pulled the sandbox loader the vc-follow-symlinks test had inline into tests/testutil-system-defaults.el so both files share one copy. The backups test clears cj/backup-directory before loading — it's a defvar, so once an earlier test loads the module it keeps that first sandbox path and won't recompute, which made the assertion fail until I forced the recompute.
Diffstat (limited to 'tests/test-custom-buffer-file--view-email-in-buffer.el')
0 files changed, 0 insertions, 0 deletions
