aboutsummaryrefslogtreecommitdiff
path: root/tests/abortable.rs
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2020-10-26 21:15:57 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-10-26 21:15:57 +0000
commitd30ac35e100d2a0d593c6543e5322dd4622e3a8d (patch)
tree4c035f44f5ab63185eba73ee6a2c53d89859f494 /tests/abortable.rs
parent0f433da1774275a3bdc33fdbf312213334d38e3d (diff)
parenta2b749b930f81db8b95730e4f7e1229da59f49a2 (diff)
downloadfutures-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/abortable.rs')
-rw-r--r--tests/abortable.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/abortable.rs b/tests/abortable.rs
index fcbabe9..6b5a25c 100644
--- a/tests/abortable.rs
+++ b/tests/abortable.rs
@@ -1,4 +1,3 @@
-#[cfg(all(feature = "alloc", feature = "executor"))]
#[test]
fn abortable_works() {
use futures::channel::oneshot;
@@ -12,7 +11,6 @@ fn abortable_works() {
assert_eq!(Err(Aborted), block_on(abortable_rx));
}
-#[cfg(all(feature = "alloc", feature = "executor"))]
#[test]
fn abortable_awakens() {
use futures::channel::oneshot;
@@ -33,7 +31,6 @@ fn abortable_awakens() {
assert_eq!(Poll::Ready(Err(Aborted)), abortable_rx.poll_unpin(&mut cx));
}
-#[cfg(all(feature = "alloc", feature = "executor"))]
#[test]
fn abortable_resolves() {
use futures::channel::oneshot;