diff options
| author | Craig Jennings <c@cjennings.net> | 2026-04-30 10:30:32 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-04-30 10:30:32 -0500 |
| commit | 098723dbdeba1dc36bb2885e351e4aaa7d7b7146 (patch) | |
| tree | 3fe136bcd000847e0b30f52e2d12228caa7baa3d /modules/ui-config.el | |
| parent | 13fe99cc17e43dff2a7d5f6f9f8ac7b255add9da (diff) | |
| download | dotemacs-098723dbdeba1dc36bb2885e351e4aaa7d7b7146.tar.gz dotemacs-098723dbdeba1dc36bb2885e351e4aaa7d7b7146.zip | |
test(prog): drop ignore-errors on prog-module require, add featurep check
Two small tightening passes on the formatter wiring tests just shipped.
Drops `(ignore-errors ...)` from each test file's
`(require 'prog-PKG)' call. Soft use-package warnings (e.g. lsp-pyright
not being installed) still emit messages without aborting the load. A
hard load failure (syntax error, missing required dep) would now
surface as a test error rather than being silently swallowed.
Adds a `(should (featurep PKG))' assertion per language so the test
output makes "package loaded" visible alongside the fboundp and
binding checks. For webdev the assertion is `(featurep 'prog-webdev)'
since the formatter command is defined directly in prog-webdev.el
(it shells out to the prettier CLI, no separate package to load).
17 tests total now (up from 13), all passing.
Diffstat (limited to 'modules/ui-config.el')
0 files changed, 0 insertions, 0 deletions
