aboutsummaryrefslogtreecommitdiff
path: root/tests/test-prog-json--json-format-buffer.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-04-01 08:13:33 -0500
committerCraig Jennings <c@cjennings.net>2026-04-01 08:13:33 -0500
commit94a8221668c3ce96daf7c3b062c5071c03bb20b4 (patch)
tree056dd89c3879b4fd4e928ce8c6772501a7d7ffa5 /tests/test-prog-json--json-format-buffer.el
parent0a2258db2ce5b80b3cc8553c21ea2d37e4b44157 (diff)
downloaddotemacs-94a8221668c3ce96daf7c3b062c5071c03bb20b4.tar.gz
dotemacs-94a8221668c3ce96daf7c3b062c5071c03bb20b4.zip
feat(music): add test coverage for 7 functions, refactor with extracted helpers
Add 47 new unit tests across 7 test files covering playlist-modified-p, assert-valid-playlist-file, playlist-tracks, create-radio-station, ensure-playlist-buffer, after-playlist-clear, and header-text. Extract three helpers to reduce duplication: assert-m3u-files-exist (dedupes 2 identical guards), sync-playlist-file (dedupes 3 state-sync patterns), and select-m3u-file (reusable M3U selection with cancel). Simplify append-track-to-playlist nesting from 6 to 4 levels. Delete unused cj/music-keymap-prefix variable.
Diffstat (limited to 'tests/test-prog-json--json-format-buffer.el')
0 files changed, 0 insertions, 0 deletions