aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorsalmonik <raisersoft@proton.me>2026-05-27 20:52:27 +0200
committersalmonik <raisersoft@proton.me>2026-05-27 20:52:27 +0200
commite6e9b63f9cb7576c74680b919dff7e83dfde5852 (patch)
tree300c533e7bcee80de07f1fd7b2bd059ea093003e /tests
parentAdd internet streams support (diff)
downloadrsplayer-e6e9b63f9cb7576c74680b919dff7e83dfde5852.tar.gz
rsplayer-e6e9b63f9cb7576c74680b919dff7e83dfde5852.zip
fix no metadata songs handling
format string is no longer used to represent songs that have insufficient metadata to fullfill the format string
Diffstat (limited to '')
-rw-r--r--tests/queue.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/queue.rs b/tests/queue.rs
index 5f4d853..59311d2 100644
--- a/tests/queue.rs
+++ b/tests/queue.rs
@@ -275,7 +275,7 @@ fn test_track_format_variables() {
275#[test] 275#[test]
276fn test_track_format_empty_variables() { 276fn test_track_format_empty_variables() {
277 let t = track_no_meta("/music/test.mp3"); 277 let t = track_no_meta("/music/test.mp3");
278 assert_eq!(t.format("$ARTIST - $TRACK"), " - test.mp3"); 278 assert_eq!(t.format("$ARTIST - $TRACK"), "test.mp3");
279} 279}
280 280
281#[test] 281#[test]