aboutsummaryrefslogtreecommitdiff
path: root/tests/abortable.rs
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2020-10-25 23:16:20 -0700
committerChih-Hung Hsieh <chh@google.com>2020-10-25 23:16:20 -0700
commit32ee67eb397bdc1cf4aa9971c5f6eb0c65e656e6 (patch)
tree4c035f44f5ab63185eba73ee6a2c53d89859f494 /tests/abortable.rs
parentdb6917d3753d8b851391d1016bf557fb09fbf54a (diff)
downloadfutures-32ee67eb397bdc1cf4aa9971c5f6eb0c65e656e6.tar.gz
Upgrade rust/crates/futures to 0.3.7
Test: make all rust crates Change-Id: If97a17007e814752392c4c66508c46a366437f0b
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;