summaryrefslogtreecommitdiff
path: root/tests/test-undead-buffers-kill-other-window.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-10-26 17:40:28 -0500
committerCraig Jennings <c@cjennings.net>2025-10-26 17:40:28 -0500
commitc700bc14f091a346351474ebce24aa32e0dca814 (patch)
tree82556caf6206c8e3b5836556e4402888eca66dea /tests/test-undead-buffers-kill-other-window.el
parent1a6365b94352c966a9d0bc63ccf9e7727ec2d6e1 (diff)
feat+test:custom-file-buffer: add tests and safety refactoring
Add 106 unit tests with full coverage for move-buffer-and-file (51 tests) and rename-buffer-and-file (55 tests). Refactor both functions using interactive/non-interactive split pattern for simpler testing and reusability. Changes: - Split cj/move-buffer-and-file and cj/rename-buffer-and-file into internal implementations (cj/--*) and interactive wrappers - Add ok-if-exists parameter with user confirmation to prevent data loss - Fix bugs: return values, path expansion, string-match arg order, regex - Add test utilities for proper buffer cleanup and isolation - Document interactive/non-interactive pattern in quality-engineer.org - Document error message testing guidelines in quality-engineer.org All 106 tests passing.
Diffstat (limited to 'tests/test-undead-buffers-kill-other-window.el')
0 files changed, 0 insertions, 0 deletions