blob: 9bc0560e0f4f5061e8c81aa773cbb931f3b92ce3 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
// Using `assert_eq!(x, true)` is clearer than `assert!(x)` for expressing expected values
//
// BECAUSE `assert!` only checks if the boolean value is true,
// while `assert_eq!` explicitly shows the expected value
#![allow(clippy::bool_assert_comparison)]
#[cfg(test)]
mod test;
|