aboutsummaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-25 17:00:15 -0500
committerCraig Jennings <c@cjennings.net>2026-05-25 17:00:15 -0500
commitc83b13ea891d034190b7b8582ce45f2bfaf84f40 (patch)
tree24eaf61c32566673af4acad04c42706379c9580f /custom
parent9aa180ea57f79f79c156a0956677e13c5263b478 (diff)
downloaddotemacs-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 'custom')
0 files changed, 0 insertions, 0 deletions