aboutsummaryrefslogtreecommitdiff
path: root/tests/test-custom-comments-delete-buffer-comments.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-10-26 17:55:11 -0500
committerCraig Jennings <c@cjennings.net>2025-10-26 17:55:11 -0500
commita85fefce41dc6e8ea738b71f2a05b390b52414d6 (patch)
tree732aa4ece9a96096ce9ac5d38ded85036e4975f5 /tests/test-custom-comments-delete-buffer-comments.el
parent1fd3330689b46fd4b2adc5f9450422b93082257d (diff)
downloaddotemacs-a85fefce41dc6e8ea738b71f2a05b390b52414d6.tar.gz
dotemacs-a85fefce41dc6e8ea738b71f2a05b390b52414d6.zip
test:custom-file-buffer: add tests for cj/delete-buffer-and-file
Add 36 unit tests for cj/delete-buffer-and-file covering: - Normal cases: VC vs non-VC file deletion, trash flag usage - Boundary cases: file content variations, naming edge cases, buffer states - Error cases: permission issues, VC failures, error propagation Key testing decisions documented in Commentary: - Mock delete-file errors for deterministic, portable tests - Test our code's behavior (branching logic, error propagation), not the underlying trash/filesystem implementations - Verify correct calls to vc-delete-file vs delete-file with trash flag All 36 tests passing.
Diffstat (limited to 'tests/test-custom-comments-delete-buffer-comments.el')
0 files changed, 0 insertions, 0 deletions