| Age | Commit message (Collapse) | Author |
|
- Add 26 tests covering normal cases, boundary cases, and error cases
- Tests verify column width calculation with tabs, Unicode support, various underline characters
- Mock read-char function for batch mode testing
- All 26 tests passing on first run
|
|
- Add guard clause to handle empty string input gracefully (would cause infinite loop)
- Add 33 comprehensive tests covering normal cases, boundary cases, and error cases
- Tests verify Unicode support, regex character escaping, region vs buffer operations
- All 33 tests passing
|
|
- Add 35 tests covering normal cases, boundary cases, and error cases
- Tests verify duplicate removal with case-insensitive matching, region vs buffer operations, Unicode support
- Discovered function requires trailing newlines for duplicate detection and uses case-insensitive matching
- All 35 tests passing
|
|
- Add 31 tests covering normal cases, boundary cases, and error cases
- Tests verify duplication with/without comments, Unicode, RTL text, undo behavior, and edge cases
- All 31 tests passing
|
|
- Add 11 new tests for cj/join-line-or-region covering boundary cases, Unicode, stress testing, and undo behavior
- Fix region deactivation in cj/join-line-or-region function
- All 62 tests now passing (41 join-line-or-region + 21 join-paragraph)
|
|
Fixed and enhanced the org-roam hook that copies completed tasks to
daily notes:
- Fixed hook not triggering immediately after Emacs launch by moving it
outside the lazy-loaded use-package org-roam :config block and into
with-eval-after-load 'org
- Changed hook to trigger for ANY org-done-keyword (DONE, CANCELLED,
etc.) instead of just "DONE"
- Updated hook to only trigger on non-done → done transitions using
org-last-state, preventing duplicate copies when changing between
done states (e.g., DONE → CANCELLED)
- Added docstrings to org-roam helper functions to fix checkdoc linter
warnings
- Created comprehensive ERT test suite with 10 tests covering:
* Hook registration before org-roam loads (lazy-loading fix)
* Transitions to done states (nil→DONE, TODO→DONE, IN-PROGRESS→DONE,
WAITING→CANCELLED)
* Non-triggering cases (done→done, transitions to non-done states)
|
|
Add comprehensive test cases for the `cj/join-line-or-region` and
`cj/join-paragraph` functions within the custom-line-paragraph
module. These tests cover normal, boundary, and error cases to
ensure the proper functionality of line and paragraph joining
features. They address various scenarios including line breaks,
whitespace, Unicode content, and cursor positioning, enhancing the
robustness of existing functionality.
|
|
Introduce a new function `cj/make-buffer-undead` that appends a
buffer name to the `cj/undead-buffer-list`, preventing it from being
killed. This comes along with a suite of tests to check various
scenarios and edge cases for handling undead buffers.
Additionally, add tests for related functions:
`cj/kill-buffer-or-bury-alive`, `cj/kill-buffer-and-window`, and
others to ensure they correctly manage buffers, particularly with
undead-status considerations.
Refactor `undead-buffer-list` naming for consistency and clarity in
the module.
|
|
Introduce ERT tests for security-related functions within
dwim-shell-config. These tests encompass normal, boundary, and error
conditions to ensure:
- Passwords aren't exposed in command outputs
- Temporary files have restricted permissions (mode 600)
- Proper cleanup of temporary files post-operation
- Handling of edge cases and errors effectively
|
|
- Change base directory path from ~/.temp-gptel-tests/ to ~/.temp-emacs-tests/.
- Modify accompanying docstrings and comments to reflect this update.
|
|
|
|
|