Skip to content

Commit 949610d

Browse files
committed
Move intersperse fold_specialization test to the specializations quicktests
1 parent a139571 commit 949610d

File tree

2 files changed

+6
-13
lines changed

2 files changed

+6
-13
lines changed

tests/fold_specialization.rs

Lines changed: 0 additions & 13 deletions
This file was deleted.

tests/specializations.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@ fn test_specializations<IterItem, Iter>(
7272
}
7373
}
7474

75+
quickcheck! {
76+
fn intersperse(v: Vec<u8>) -> () {
77+
test_specializations(&v.into_iter().intersperse(0));
78+
}
79+
}
80+
7581
quickcheck! {
7682
fn put_back_qc(test_vec: Vec<i32>) -> () {
7783
test_specializations(&itertools::put_back(test_vec.iter()));

0 commit comments

Comments
 (0)