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