Browse Source

[minor] Unused variable

master
daladim 4 years ago
parent
commit
313f2ed0e9
  1. 4
      tests/scenarii.rs

4
tests/scenarii.rs

@ -694,13 +694,13 @@ async fn get_or_insert_calendar(source: &mut Cache, url: &Url)
None => {
let new_name = format!("Test calendar for URL {}", url);
let supported_components = SupportedComponents::TODO;
let color = csscolorparser::parse("#ff8000"); // TODO: we should rather have specific colors, depending on the calendars
let color = csscolorparser::parse("#ff8000").unwrap(); // TODO: we should rather have specific colors, depending on the calendars
source.create_calendar(
url.clone(),
new_name.to_string(),
supported_components,
None,
Some(color),
).await
}
}

Loading…
Cancel
Save