diff options
author | Chih-Hung Hsieh <chh@google.com> | 2020-10-26 21:15:57 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-10-26 21:15:57 +0000 |
commit | d30ac35e100d2a0d593c6543e5322dd4622e3a8d (patch) | |
tree | 4c035f44f5ab63185eba73ee6a2c53d89859f494 /tests/stream.rs | |
parent | 0f433da1774275a3bdc33fdbf312213334d38e3d (diff) | |
parent | a2b749b930f81db8b95730e4f7e1229da59f49a2 (diff) | |
download | futures-d30ac35e100d2a0d593c6543e5322dd4622e3a8d.tar.gz |
Upgrade rust/crates/futures to 0.3.7 am: 32ee67eb39 am: a2b749b930
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/futures/+/1473777
Change-Id: I28750111e2a77d1ce199348c2fcb64a12ae2f28f
Diffstat (limited to 'tests/stream.rs')
-rw-r--r-- | tests/stream.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/stream.rs b/tests/stream.rs index 09fe9e2..14b283d 100644 --- a/tests/stream.rs +++ b/tests/stream.rs @@ -1,4 +1,3 @@ -#[cfg(feature = "executor")] // executor:: #[test] fn select() { use futures::executor::block_on; @@ -16,7 +15,6 @@ fn select() { select_and_compare(vec![1, 2], vec![4, 5, 6], vec![1, 4, 2, 5, 6]); } -#[cfg(feature = "executor")] // executor:: #[test] fn flat_map() { use futures::stream::{self, StreamExt}; @@ -37,7 +35,6 @@ fn flat_map() { }); } -#[cfg(feature = "executor")] // executor:: #[test] fn scan() { use futures::stream::{self, StreamExt}; @@ -56,7 +53,6 @@ fn scan() { }); } -#[cfg(feature = "executor")] // executor:: #[test] fn take_until() { use futures::future::{self, Future}; @@ -136,7 +132,6 @@ fn ready_chunks_panic_on_cap_zero() { let _ = rx1.ready_chunks(0); } -#[cfg(feature = "executor")] // executor:: #[test] fn ready_chunks() { use futures::channel::mpsc; @@ -162,4 +157,4 @@ fn ready_chunks() { assert_eq!(s.next().await.unwrap(), vec![2,3]); assert_eq!(s.next().await.unwrap(), vec![4]); }); -}
\ No newline at end of file +} |