remove an unneeded test
This commit is contained in:
parent
7e85a8750b
commit
7485119028
1 changed files with 0 additions and 12 deletions
12
src/lib.rs
12
src/lib.rs
|
@ -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!");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue