summaryrefslogtreecommitdiff
path: root/modules/test-runner.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
commitc0779b05af9c3b6f2e5bd4383e0116806f5a4a12 (patch)
treefacec669519950d9314f33b2ec028e2c5ff06147 /modules/test-runner.el
parent2c1e016f9ca8b2df52f78480033e4fa7713afd29 (diff)
downloaddotemacs-c0779b05af9c3b6f2e5bd4383e0116806f5a4a12.tar.gz
dotemacs-c0779b05af9c3b6f2e5bd4383e0116806f5a4a12.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 'modules/test-runner.el')
0 files changed, 0 insertions, 0 deletions