From d46cde12169633085675b11e4586fb4d4d0f376e Mon Sep 17 00:00:00 2001 From: Sean McArthur Date: Wed, 11 Sep 2019 14:55:14 -0700 Subject: [PATCH] test(client): remove warning about disabled tests --- src/client/pool.rs | 2 ++ src/client/tests.rs | 4 +--- src/mock.rs | 4 +--- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/client/pool.rs b/src/client/pool.rs index e6a1f545..15178009 100644 --- a/src/client/pool.rs +++ b/src/client/pool.rs @@ -180,6 +180,7 @@ impl Pool { .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 Pool { .map(|list| list.len()) .unwrap_or(0) } + */ pub(super) fn pooled(&self, mut connecting: Connecting, value: T) -> Pooled { let (value, pool_ref) = if let Some(ref enabled) = self.inner { diff --git a/src/client/tests.rs b/src/client/tests.rs index b96c6f94..4f409c40 100644 --- a/src/client/tests.rs +++ b/src/client/tests.rs @@ -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")] diff --git a/src/mock.rs b/src/mock.rs index b785cdb3..9b792855 100644 --- a/src/mock.rs +++ b/src/mock.rs @@ -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;