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 | 828ce0fd8ea6df3b4189d7dec8f7ed9eb8b2a2b8 (patch) | |
| tree | b98a69d63514e71b6fe319be71053ac79599a942 /modules/external-open.el | |
| parent | 722d824a8e287244524497fc88f91a3f3a3d5272 (diff) | |
| download | dotemacs-828ce0fd8ea6df3b4189d7dec8f7ed9eb8b2a2b8.tar.gz dotemacs-828ce0fd8ea6df3b4189d7dec8f7ed9eb8b2a2b8.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 'modules/external-open.el')
0 files changed, 0 insertions, 0 deletions
