diff options
| author | Craig Jennings <c@cjennings.net> | 2026-04-01 08:13:33 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-04-01 08:13:33 -0500 |
| commit | 24a8a4549a3c668d135ac5b4d882f285a18f6392 (patch) | |
| tree | 1665eb4208471c801d365d22508bdb51f04d6886 /init.el | |
| parent | 7b5a0eefa3a92c905ef2ee9cbe7b780fd93bff76 (diff) | |
| download | dotemacs-24a8a4549a3c668d135ac5b4d882f285a18f6392.tar.gz dotemacs-24a8a4549a3c668d135ac5b4d882f285a18f6392.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 'init.el')
0 files changed, 0 insertions, 0 deletions
