Skip to content

Commit

Permalink
test: use assert_eq! for test_poolsize
Browse files Browse the repository at this point in the history
  • Loading branch information
ludo-c committed Sep 22, 2022
1 parent fbf3216 commit 979fa73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sys/kernel/random.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ mod tests {
// The kernel support section in the root lib.rs file says that we only aim to support >= 2.6 kernels,
// so only test that case
let poolsize = poolsize().unwrap();
assert!(poolsize == 4096)
assert_eq!(poolsize, 4096)
}

#[test]
Expand Down

0 comments on commit 979fa73

Please sign in to comment.