aboutsummaryrefslogtreecommitdiff
path: root/tests/test-all-comp-errors.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-14 03:43:46 -0500
committerCraig Jennings <c@cjennings.net>2026-05-14 03:43:46 -0500
commitcae6586b5a0e9c6e8e347b09129d71ae22df9ecf (patch)
tree89fa88d34bd3338f9dbdfe8b6163cacf4946b4b9 /tests/test-all-comp-errors.el
parent506b0cc4ada2168930bd3042d35f6e6847dc787f (diff)
downloaddotemacs-cae6586b5a0e9c6e8e347b09129d71ae22df9ecf.tar.gz
dotemacs-cae6586b5a0e9c6e8e347b09129d71ae22df9ecf.zip
test(external-open): cover xdg-open, open-this-file-with, find-file-auto
Sibling tests in `test-external-open-lib-*.el` covered the pure helpers (`cj/external-open-command`, `cj/external-open-launcher-p`). This batch covers the user-facing wrappers: - `cj/xdg-open`: posix path triggers `call-process` with the open program; errors when no file is associated; errors when no command resolves on the host. - `cj/open-this-file-with`: errors outside a file-visiting buffer; posix path spawns a detached process via `call-process-shell-command` with `nohup ... >/dev/null 2>&1 &`. - `cj/find-file-auto`: routes a `.mp4` (in `default-open-extensions`) to `cj/xdg-open`, passes `.txt` through to the original `find-file`, and falls through cleanly for a nil filename argument. Host predicates, call-process, and the underlying `cj/xdg-open` are stubbed throughout.
Diffstat (limited to 'tests/test-all-comp-errors.el')
0 files changed, 0 insertions, 0 deletions