remove an unneeded test

This commit is contained in:
Tangent Wantwight 2019-11-16 14:22:53 -05:00
parent 7e85a8750b
commit 7485119028
1 changed files with 0 additions and 12 deletions

View File

@ -15,18 +15,6 @@ pub use crate::ebml::{EbmlError, FromEbml};
#[cfg(test)]
mod tests {
use futures::future::{ok, Future};
pub const TEST_FILE: &'static [u8] = include_bytes!("data/test1.webm");
pub const ENCODE_WEBM_TEST_FILE: &'static [u8] = include_bytes!("data/encode_webm_test.webm");
#[test]
fn hello_futures() {
let my_future = ok::<String, ()>("Hello".into())
.map(|hello| hello + ", Futures!");
let string_result = my_future.wait().unwrap();
assert_eq!(string_result, "Hello, Futures!");
}
}