Skip to content

Commit 324d2f7

Browse files
committed
fix warning
1 parent b64dd17 commit 324d2f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ctutils/src/choice.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ mod tests {
360360

361361
#[test]
362362
fn to_bool() {
363-
assert_eq!(Choice::new(0).to_bool(), false);
363+
assert!(!Choice::new(0).to_bool());
364364
assert!(Choice::new(1).to_bool());
365365
}
366366

0 commit comments

Comments
 (0)