test(client): remove warning about disabled tests
This commit is contained in:
		| @@ -180,6 +180,7 @@ impl<T: Poolable> Pool<T> { | ||||
|             .expect("lock") | ||||
|     } | ||||
|  | ||||
|     /* Used in client/tests.rs... | ||||
|     #[cfg(feature = "runtime")] | ||||
|     #[cfg(test)] | ||||
|     pub(super) fn h1_key(&self, s: &str) -> Key { | ||||
| @@ -196,6 +197,7 @@ impl<T: Poolable> Pool<T> { | ||||
|             .map(|list| list.len()) | ||||
|             .unwrap_or(0) | ||||
|     } | ||||
|     */ | ||||
|  | ||||
|     pub(super) fn pooled(&self, mut connecting: Connecting<T>, value: T) -> Pooled<T> { | ||||
|         let (value, pool_ref) = if let Some(ref enabled) = self.inner { | ||||
|   | ||||
| @@ -1,6 +1,4 @@ | ||||
| // FIXME: re-implement tests with `async/await`, this import should | ||||
| // trigger a warning to remind us | ||||
| use super::Client; | ||||
| // FIXME: re-implement tests with `async/await` | ||||
| /* | ||||
| #![cfg(feature = "runtime")] | ||||
|  | ||||
|   | ||||
| @@ -1,6 +1,4 @@ | ||||
| // FIXME: re-implement tests with `async/await`, this import should | ||||
| // trigger a warning to remind us | ||||
| use crate::Error; | ||||
| // FIXME: re-implement tests with `async/await` | ||||
| /* | ||||
| #[cfg(feature = "runtime")] | ||||
| use std::collections::HashMap; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user