diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-14 00:53:40 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-14 00:53:40 -0500 |
| commit | 88af20a6f9b6ff99def50c6e9ca2adfbc5ba9dcb (patch) | |
| tree | 29dfb7c1fb0f8262d25e5fd182d26ded0e1c12f7 /tests/test-custom-buffer-file-print-diff-eww.el | |
| parent | 963a55dcd51ba0d6cfa016b198cd217185b682b1 (diff) | |
| download | dotemacs-88af20a6f9b6ff99def50c6e9ca2adfbc5ba9dcb.tar.gz dotemacs-88af20a6f9b6ff99def50c6e9ca2adfbc5ba9dcb.zip | |
test(music-config): cover assertion guards, M3U picker, EMMS lazy setup
music-config has a large sibling-test fleet for the pure helpers; the gap was a handful of small dispatchers and assertion guards.
13 new tests, EMMS primitives stubbed throughout:
- `cj/music--assert-m3u-files-exist`: passes a non-empty list through, errors on empty.
- `cj/music--sync-playlist-file`: sets the buffer-local file ref + resets point.
- `cj/music--select-m3u-file`: returns the chosen path, returns nil on Cancel, errors when no files exist.
- `cj/emms--setup`: no-ops when emms already loaded, requires when absent.
- `cj/music-playlist-clear`: stops playback, clears the playlist, nils the file ref.
- `cj/music-add-directory-recursive`: calls `emms-add-directory-tree` for an existing dir, user-errors for non-dirs.
- `cj/music--find-track-in-playlist`: returns the buffer position when present, nil when absent.
Diffstat (limited to 'tests/test-custom-buffer-file-print-diff-eww.el')
0 files changed, 0 insertions, 0 deletions
