diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-14 01:00:36 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-14 01:00:36 -0500 |
| commit | 0ef8cf12f7bc7228e9e8f072e9422320408deefc (patch) | |
| tree | 69baf9f61dc8462217c6d8f8b1d84f57c2be63cc /tests/test-ui-navigation--toggle-window-split.el | |
| parent | 7ec2b45a268b5475972073ec1be4a42700006ff2 (diff) | |
| download | dotemacs-0ef8cf12f7bc7228e9e8f072e9422320408deefc.tar.gz dotemacs-0ef8cf12f7bc7228e9e8f072e9422320408deefc.zip | |
test(dirvish-config): cover five interactive wrappers
Sibling tests covered the pure helpers; the interactive wrappers were the gap. 13 new tests cover:
- `cj/dirvish-open-html-in-eww`: HTML file -> `eww-open-file`, non-HTML -> message.
- `cj/dirvish-duplicate-file`: copies file with `-copy` suffix, errors on no-file / directory / declined-overwrite.
- `cj/dired-mark-all-visible-files`: marks file lines, skips directory lines (via `cj/--dired-line-is-directory-p`).
- `cj/dired-copy-path-as-kill`: errors outside dired-mode, kills resolved path, formats as org-link when asked.
- `cj/dirvish-open-file-manager-here`: uses `cj/external-open-command` when available, falls back to `xdg-open` shell command otherwise, messages when current dir can't be resolved.
The decline-overwrite test uses real temp files instead of `cl-letf`-overriding `file-directory-p` + `file-exists-p` -- native-comp's trampoline cache breaks when several built-ins get redefined in the same test.
Diffstat (limited to 'tests/test-ui-navigation--toggle-window-split.el')
0 files changed, 0 insertions, 0 deletions
