Skip to content

Commit 42d1d4f

Browse files
committed
Revert 'more-asserts' dependency addition
1 parent 9532eb5 commit 42d1d4f

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,3 @@ rand_xorshift = "0.1"
3434
serde = "1"
3535
serde_derive = "1"
3636
doc-comment = "0.3"
37-
more-asserts = "0.2.1"

tests/iter_panic.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
extern crate rayon;
2-
#[macro_use]
3-
extern crate more_asserts;
42

53
use rayon::prelude::*;
64
use std::ops::Range;
@@ -44,10 +42,10 @@ fn iter_panic_fuse() {
4442
assert_eq!(count(iter.clone().inspect(check)), expected);
4543

4644
// With `panic_fuse()` anywhere in the chain, we'll reach fewer items.
47-
assert_lt!(count(iter.clone().inspect(check).panic_fuse()), expected);
48-
assert_lt!(count(iter.clone().panic_fuse().inspect(check)), expected);
45+
assert!(count(iter.clone().inspect(check).panic_fuse()) < expected);
46+
assert!(count(iter.clone().panic_fuse().inspect(check)) < expected);
4947

5048
// Try in reverse to be sure we hit the producer case.
51-
assert_lt!(count(iter.clone().panic_fuse().inspect(check).rev()), expected);
49+
assert!(count(iter.clone().panic_fuse().inspect(check).rev()) < expected);
5250
});
5351
}

0 commit comments

Comments
 (0)