Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore clippy::bool_assert_comparison lint in tests
``` warning: used `assert_eq!` with a literal bool --> tests/unbounded.rs:37:5 | 37 | assert_eq!(s.is_empty(), true); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)` | = note: `#[warn(clippy::bool_assert_comparison)]` on by default = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison warning: used `assert_eq!` with a literal bool --> tests/unbounded.rs:38:5 | 38 | assert_eq!(s.is_full(), false); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison warning: used `assert_eq!` with a literal bool --> tests/unbounded.rs:40:5 | 40 | assert_eq!(r.is_empty(), true); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison warning: used `assert_eq!` with a literal bool --> tests/unbounded.rs:41:5 | 41 | assert_eq!(r.is_full(), false); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison warning: used `assert_eq!` with a literal bool --> tests/unbounded.rs:46:5 | 46 | assert_eq!(s.is_empty(), false); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison warning: used `assert_eq!` with a literal bool --> tests/unbounded.rs:47:5 | 47 | assert_eq!(s.is_full(), false); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison warning: used `assert_eq!` with a literal bool --> tests/unbounded.rs:49:5 | 49 | assert_eq!(r.is_empty(), false); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison warning: used `assert_eq!` with a literal bool --> tests/unbounded.rs:50:5 | 50 | assert_eq!(r.is_full(), false); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison warning: used `assert_eq!` with a literal bool --> tests/unbounded.rs:55:5 | 55 | assert_eq!(s.is_empty(), true); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison warning: used `assert_eq!` with a literal bool --> tests/unbounded.rs:56:5 | 56 | assert_eq!(s.is_full(), false); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison warning: used `assert_eq!` with a literal bool --> tests/unbounded.rs:58:5 | 58 | assert_eq!(r.is_empty(), true); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison warning: used `assert_eq!` with a literal bool --> tests/unbounded.rs:59:5 | 59 | assert_eq!(r.is_full(), false); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison warning: used `assert_eq!` with a literal bool --> tests/bounded.rs:40:5 | 40 | assert_eq!(s.is_empty(), true); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)` | = note: `#[warn(clippy::bool_assert_comparison)]` on by default = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison warning: used `assert_eq!` with a literal bool --> tests/bounded.rs:41:5 | 41 | assert_eq!(s.is_full(), false); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison warning: used `assert_eq!` with a literal bool --> tests/bounded.rs:43:5 | 43 | assert_eq!(r.is_empty(), true); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison warning: used `assert_eq!` with a literal bool --> tests/bounded.rs:44:5 | 44 | assert_eq!(r.is_full(), false); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison warning: used `assert_eq!` with a literal bool --> tests/bounded.rs:49:5 | 49 | assert_eq!(s.is_empty(), false); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison warning: used `assert_eq!` with a literal bool --> tests/bounded.rs:50:5 | 50 | assert_eq!(s.is_full(), false); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison warning: used `assert_eq!` with a literal bool --> tests/bounded.rs:52:5 | 52 | assert_eq!(r.is_empty(), false); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison warning: used `assert_eq!` with a literal bool --> tests/bounded.rs:53:5 | 53 | assert_eq!(r.is_full(), false); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison warning: used `assert_eq!` with a literal bool --> tests/bounded.rs:58:5 | 58 | assert_eq!(s.is_empty(), false); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison warning: used `assert_eq!` with a literal bool --> tests/bounded.rs:59:5 | 59 | assert_eq!(s.is_full(), true); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison warning: used `assert_eq!` with a literal bool --> tests/bounded.rs:61:5 | 61 | assert_eq!(r.is_empty(), false); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison warning: used `assert_eq!` with a literal bool --> tests/bounded.rs:62:5 | 62 | assert_eq!(r.is_full(), true); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison warning: used `assert_eq!` with a literal bool --> tests/bounded.rs:67:5 | 67 | assert_eq!(s.is_empty(), false); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison warning: used `assert_eq!` with a literal bool --> tests/bounded.rs:68:5 | 68 | assert_eq!(s.is_full(), false); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison warning: used `assert_eq!` with a literal bool --> tests/bounded.rs:70:5 | 70 | assert_eq!(r.is_empty(), false); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison warning: used `assert_eq!` with a literal bool --> tests/bounded.rs:71:5 | 71 | assert_eq!(r.is_full(), false); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison ```
- Loading branch information