chore(lib): individually disable tests and examples that aren't updated

This commit is contained in:
Sean McArthur
2019-07-12 13:29:57 -07:00
parent f93463b3d9
commit 5da17df97f
29 changed files with 120 additions and 61 deletions

View File

@@ -549,10 +549,20 @@ impl Sink for Sender {
}
*/
#[test]
fn test_body_stream_concat() {
let body = Body::from("hello world");
#[cfg(test)]
mod tests {
// FIXME: re-implement tests with `async/await`, this import should
// trigger a warning to remind us
use crate::Error;
let total = body.concat2().wait().unwrap();
assert_eq!(total.as_ref(), b"hello world");
/*
use super::*;
#[test]
fn test_body_stream_concat() {
let body = Body::from("hello world");
let total = body.concat2().wait().unwrap();
assert_eq!(total.as_ref(), b"hello world");
}
*/
}