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 | 94a8221668c3ce96daf7c3b062c5071c03bb20b4 (patch) | |
| tree | 056dd89c3879b4fd4e928ce8c6772501a7d7ffa5 /data | |
| parent | 0a2258db2ce5b80b3cc8553c21ea2d37e4b44157 (diff) | |
| download | dotemacs-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 'data')
0 files changed, 0 insertions, 0 deletions
