aboutsummaryrefslogtreecommitdiff
path: root/src/iter/collect
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-04-12 01:23:09 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-04-12 01:23:09 +0000
commitbd582ccf3ffb8113913cd2d77f2499a42ecb4074 (patch)
tree1900296c4c4cc8dbc1dcc832ee0e0fcbdcceb88b /src/iter/collect
parent0ae555cb145ad18af680124b42cbef9717e952d0 (diff)
parent4b65af3a6cade5590e77fb4bf332037b13218119 (diff)
downloadrayon-android14-release.tar.gz
Change-Id: I501edf167da0861bc4b489a9dbc3bc4b983ce328
Diffstat (limited to 'src/iter/collect')
-rw-r--r--src/iter/collect/test.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/iter/collect/test.rs b/src/iter/collect/test.rs
index b5f676f..97bec3f 100644
--- a/src/iter/collect/test.rs
+++ b/src/iter/collect/test.rs
@@ -76,6 +76,7 @@ fn right_produces_items_with_no_complete() {
// Complete is not called by the consumer. Hence,the collection vector is not fully initialized.
#[test]
+#[cfg_attr(not(panic = "unwind"), ignore)]
fn produces_items_with_no_complete() {
let counter = DropCounter::default();
let mut v = vec![];
@@ -273,6 +274,7 @@ fn right_panics() {
// The left consumer produces fewer items while the right
// consumer produces correct number; check that created elements are dropped
#[test]
+#[cfg_attr(not(panic = "unwind"), ignore)]
fn left_produces_fewer_items_drops() {
let counter = DropCounter::default();
let mut v = vec![];