diff options
Diffstat (limited to '')
-rw-r--r-- | vendor/rayon/tests/debug.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vendor/rayon/tests/debug.rs b/vendor/rayon/tests/debug.rs index d107b1377..1cbf4e6ed 100644 --- a/vendor/rayon/tests/debug.rs +++ b/vendor/rayon/tests/debug.rs @@ -155,6 +155,8 @@ fn debug_adaptors() { check(v.par_iter().map(Some).flatten_iter()); check(v.par_iter().fold(|| 0, |x, _| x)); check(v.par_iter().fold_with(0, |x, _| x)); + check(v.par_iter().fold_chunks(3, || 0, |x, _| x)); + check(v.par_iter().fold_chunks_with(3, 0, |x, _| x)); check(v.par_iter().try_fold(|| 0, |x, _| Some(x))); check(v.par_iter().try_fold_with(0, |x, _| Some(x))); check(v.par_iter().inspect(|_| ())); |