We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b30313a commit 9ab49baCopy full SHA for 9ab49ba
openssl-errors/tests/test.rs
@@ -32,7 +32,7 @@ fn basic() {
32
cfg_if! {
33
if #[cfg(ossl300)] {
34
// https://github.com/openssl/openssl/issues/12530
35
- assert!(error.data() == None || error.data() == Some(""));
+ assert!(error.data().is_none() || error.data() == Some(""));
36
} else {
37
assert_eq!(error.data(), None);
38
}
0 commit comments