aboutsummaryrefslogtreecommitdiff
path: root/tests/test-calendar-sync--format-timezone-offset.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-20 11:32:21 -0400
committerCraig Jennings <c@cjennings.net>2026-06-20 11:32:21 -0400
commit5b5d24b5d14b9828b2acc2e39b4530be9091e512 (patch)
tree7f754389fd8d62d148a76ce21b7b055177d5a463 /tests/test-calendar-sync--format-timezone-offset.el
parented7e6b2a89fc31d2e23f2c53f8af49d3ff00586d (diff)
downloaddotemacs-5b5d24b5d14b9828b2acc2e39b4530be9091e512.tar.gz
dotemacs-5b5d24b5d14b9828b2acc2e39b4530be9091e512.zip
refactor: extract shared format-region helper into system-lib
prog-json and prog-yaml each carried a byte-identical cj/--<lang>-format-region that runs a formatter over the buffer via call-process-region and replaces it on exit 0. Hoist it to system-lib as cj/format-region-with-program with a generic output buffer, and point both formatters at it. Adds the first direct unit coverage of the helper (Normal, Boundary, Error).
Diffstat (limited to 'tests/test-calendar-sync--format-timezone-offset.el')
0 files changed, 0 insertions, 0 deletions