|
|
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.
|