diff --git a/src/utils.rs b/src/utils.rs index bd8a0ea..825a319 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -67,7 +67,7 @@ where C: CompleteCalendar, { for (id, cal) in cals { - println!("CAL {}", id); + println!("CAL {} ({})", cal.lock().unwrap().name(), id); match cal.lock().unwrap().get_items().await { Err(_err) => continue, Ok(map) => { @@ -85,7 +85,7 @@ where C: DavCalendar, { for (id, cal) in cals { - println!("CAL {}", id); + println!("CAL {} ({})", cal.lock().unwrap().name(), id); match cal.lock().unwrap().get_item_version_tags().await { Err(_err) => continue, Ok(map) => { diff --git a/tests/scenarii.rs b/tests/scenarii.rs index 3fcb632..8a5d8de 100644 --- a/tests/scenarii.rs +++ b/tests/scenarii.rs @@ -639,7 +639,7 @@ async fn get_or_insert_calendar(source: &mut Cache, id: &CalendarId) match source.get_calendar(id).await { Some(cal) => Ok(cal), None => { - let new_name = format!("Calendar for ID {}", id); + let new_name = format!("Test calendar for ID {}", id); let supported_components = SupportedComponents::TODO; source.create_calendar(