Browse Source

[minor]

github_actions
daladim 5 years ago
parent
commit
45b4c1a056
  1. 1
      src/calendar/cached_calendar.rs
  2. 6
      tests/sync-reminder.rs

1
src/calendar/cached_calendar.rs

@ -59,7 +59,6 @@ impl BaseCalendar for CachedCalendar {
#[async_trait] #[async_trait]
impl CompleteCalendar for CachedCalendar { impl CompleteCalendar for CachedCalendar {
async fn get_item_ids(&self) -> Result<HashSet<ItemId>, Box<dyn Error>> { async fn get_item_ids(&self) -> Result<HashSet<ItemId>, Box<dyn Error>> {
eprintln!("Overridden implem");
Ok(self.items.iter() Ok(self.items.iter()
.map(|(id, _)| id.clone()) .map(|(id, _)| id.clone())
.collect() .collect()

6
tests/sync-reminder.rs

@ -0,0 +1,6 @@
#[test]
#[ignore]
fn do_not_forget_to_run_tests_with_specific_features() {
// This is just a reminder that there are tests that can be run only when cargo feature "integration_tests" is enabled.
// See `sync.rs`
}
Loading…
Cancel
Save