aboutsummaryrefslogtreecommitdiff
path: root/tests/test-all-comp-errors.el
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
commit30ed8408f60fe6c09197e5fc852ed3c228ff95d3 (patch)
treed8e75e08f975d78691c9b9043a182e9948b42462 /tests/test-all-comp-errors.el
parent00596536ededc12b6d7f81037bd503c57381d7ab (diff)
downloaddotemacs-30ed8408f60fe6c09197e5fc852ed3c228ff95d3.tar.gz
dotemacs-30ed8408f60fe6c09197e5fc852ed3c228ff95d3.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-all-comp-errors.el')
0 files changed, 0 insertions, 0 deletions