Taiki Endo
8497007235
Ignore clippy::bool_assert_comparison lint in tests
...
```
warning: used `assert_eq!` with a literal bool
--> tests/bounded.rs:37:5
|
37 | assert_eq!(q.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:38:5
|
38 | assert_eq!(q.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!(q.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:44:5
|
44 | assert_eq!(q.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!(q.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!(q.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:55:5
|
55 | assert_eq!(q.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:56:5
|
56 | assert_eq!(q.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:22:5
|
22 | assert_eq!(q.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:27:5
|
27 | assert_eq!(q.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:32:5
|
32 | assert_eq!(q.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/single.rs:29:5
|
29 | assert_eq!(q.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/single.rs:30:5
|
30 | assert_eq!(q.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/single.rs:35:5
|
35 | assert_eq!(q.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/single.rs:36:5
|
36 | assert_eq!(q.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/single.rs:41:5
|
41 | assert_eq!(q.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/single.rs:42:5
|
42 | assert_eq!(q.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
```
2022-07-17 22:34:00 +09:00