aboutsummaryrefslogtreecommitdiff
path: root/tests/test-external-open-lib-command.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-13 06:31:01 -0500
committerCraig Jennings <c@cjennings.net>2026-05-13 06:31:01 -0500
commit7b371461119d5abafc5adcee06b71ce5629d6820 (patch)
treeac3545d42eb1ae1dd0d02daf69e7ec5e8349e7ee /tests/test-external-open-lib-command.el
parent9487ffef982ad0f9fb9e0e1930b3c5d82a50085f (diff)
downloaddotemacs-7b371461119d5abafc5adcee06b71ce5629d6820.tar.gz
dotemacs-7b371461119d5abafc5adcee06b71ce5629d6820.zip
test(calibredb-epub): cover seven untested ebook helpers
I added tests for `cj/calibredb-clear-filters`, `cj/force-nov-mode-for-epub`, `cj/--nov-image-padding-cols` (the helper extracted in the previous commit), `cj/nov--natural-window-width`, `cj/nov--metadata-get`, `cj/nov--file-path`, and `cj/nov-jump-to-calibredb`. Each gets Normal, Boundary, and Error cases where they apply: 22 tests in all. The calibredb stubs sit in a new `test-calibredb-epub--with-calibredb-stubs` macro so the three jump-to-calibredb cases stay focused on their branch. Coverage on `calibredb-epub-config.el` moves from 7/104 (6.7%) to 95/133 (71.4%).
Diffstat (limited to 'tests/test-external-open-lib-command.el')
0 files changed, 0 insertions, 0 deletions