diff options
| author | Craig Jennings <c@cjennings.net> | 2025-10-26 18:14:00 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-10-26 18:14:00 -0500 |
| commit | d11cf508802dc6be1ce31ccb57c10359a65d8216 (patch) | |
| tree | e7cbfb614c6ee43301e9df319f414716b74bbda0 /tests/test-custom-comments-delete-buffer-comments.el | |
| parent | a85fefce41dc6e8ea738b71f2a05b390b52414d6 (diff) | |
| download | dotemacs-d11cf508802dc6be1ce31ccb57c10359a65d8216.tar.gz dotemacs-d11cf508802dc6be1ce31ccb57c10359a65d8216.zip | |
test+fix:custom-file-buffer: add tests, fix linter warning
Add 58 unit tests for buffer/file utility functions:
- cj/copy-link-to-buffer-file (12 tests)
- cj/copy-path-to-buffer-file-as-kill (12 tests)
- cj/copy-whole-buffer (14 tests)
- cj/clear-to-bottom-of-buffer (10 tests)
- cj/clear-to-top-of-buffer (10 tests)
Tests cover normal cases, boundary cases (unicode, empty buffers, narrowing,
read-only buffers), and error cases.
Production code change:
- Fix linter warning: unused variable 'err' → '_' in cj/move-buffer-and-file
Diffstat (limited to 'tests/test-custom-comments-delete-buffer-comments.el')
0 files changed, 0 insertions, 0 deletions
