From 32654f6cb2f2eb4cdcf00e8db6fc86b6124c046a Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Fri, 6 Apr 2018 19:18:55 +0300 Subject: [PATCH] Fix the tests. --- hammond-data/benches/bench.rs | 2 -- hammond-data/src/models/source.rs | 1 - 2 files changed, 3 deletions(-) diff --git a/hammond-data/benches/bench.rs b/hammond-data/benches/bench.rs index 806ed87..dce3907 100644 --- a/hammond-data/benches/bench.rs +++ b/hammond-data/benches/bench.rs @@ -3,7 +3,6 @@ extern crate criterion; use criterion::Criterion; // extern crate futures; -// extern crate futures_cpupool; extern crate hammond_data; extern crate hyper; extern crate hyper_tls; @@ -15,7 +14,6 @@ extern crate rss; // use rayon::prelude::*; // use futures::future::*; -// use futures_cpupool::CpuPool; use tokio_core::reactor::Core; use hammond_data::FeedBuilder; diff --git a/hammond-data/src/models/source.rs b/hammond-data/src/models/source.rs index 62b57f3..4deed3a 100644 --- a/hammond-data/src/models/source.rs +++ b/hammond-data/src/models/source.rs @@ -259,7 +259,6 @@ mod tests { fn test_into_feed() { truncate_db().unwrap(); - let pool = CpuPool::new_num_cpus(); let mut core = Core::new().unwrap(); let client = Client::configure() .connector(HttpsConnector::new(4, &core.handle()).unwrap())