aboutsummaryrefslogtreecommitdiff
path: root/modules/prog-c.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-20 16:43:53 -0400
committerCraig Jennings <c@cjennings.net>2026-06-20 16:43:53 -0400
commita4d15c5598d2faed55cf0f3486025bd51f33debc (patch)
tree3d6780c43b9ac5a382226d81284315e067fedea0 /modules/prog-c.el
parent90b2943f55c2c59d4cb447aedf41d4841f1b1c93 (diff)
downloaddotemacs-a4d15c5598d2faed55cf0f3486025bd51f33debc.tar.gz
dotemacs-a4d15c5598d2faed55cf0f3486025bd51f33debc.zip
refactor(theme-studio): extract assertPreviewFaces for the 3 preview-face gates
The #mdtest, #mupreviewtest, and #gnustest browser gates each copy-pasted the same preview-face validation: render the preview, assert it exercises enough data-faces, that every data-face is real for the package, and that the required faces are present. Lift that into one assertPreviewFaces(A, html, faces, min, name, required) helper. Each gate keeps its literal location.hash==='#NAMEtest' check (run-tests.sh greps that to discover gates) and its own title/result-div. Verified: all 44 gates green, and a deliberately-broken required face still makes its gate report FAIL (the helper can't manufacture greens).
Diffstat (limited to 'modules/prog-c.el')
0 files changed, 0 insertions, 0 deletions