tsk-205: Code formatting

This commit is contained in:
kdeng00
2025-11-01 14:25:37 -04:00
parent dac250583f
commit 9d6d43fd2c
+8 -6
View File
@@ -337,7 +337,6 @@ mod tests {
use crate::db; use crate::db;
mod db_mgr { mod db_mgr {
use std::str::FromStr; use std::str::FromStr;
@@ -873,7 +872,6 @@ mod tests {
} }
} }
// TODO: Change the name of the function to be more expressive and put into it's own module // TODO: Change the name of the function to be more expressive and put into it's own module
pub mod payload_data { pub mod payload_data {
pub async fn queue_metadata_payload_data(song_queue_id: &uuid::Uuid) -> serde_json::Value { pub async fn queue_metadata_payload_data(song_queue_id: &uuid::Uuid) -> serde_json::Value {
@@ -2319,7 +2317,8 @@ mod tests {
let (id, _, _, _) = test_data::song_id().await.unwrap(); let (id, _, _, _) = test_data::song_id().await.unwrap();
let uri = let uri =
super::util::format_url_with_value(crate::callers::endpoints::DOWNLOADSONG, &id).await; super::util::format_url_with_value(crate::callers::endpoints::DOWNLOADSONG, &id)
.await;
match app match app
.clone() .clone()
@@ -2377,8 +2376,10 @@ mod tests {
let id = test_data::coverart_id().await.unwrap(); let id = test_data::coverart_id().await.unwrap();
let uri = let uri = super::util::format_url_with_value(
super::util::format_url_with_value(crate::callers::endpoints::DOWNLOADCOVERART, &id) crate::callers::endpoints::DOWNLOADCOVERART,
&id,
)
.await; .await;
match app match app
@@ -2505,7 +2506,8 @@ mod tests {
.unwrap(); .unwrap();
let uri = let uri =
super::util::format_url_with_value(crate::callers::endpoints::DELETESONG, &id).await; super::util::format_url_with_value(crate::callers::endpoints::DELETESONG, &id)
.await;
match app match app
.clone() .clone()