diff options
author | Heiko <heiko@schaefer.name> | 2021-06-24 14:15:07 +0200 |
---|---|---|
committer | Heiko <heiko@schaefer.name> | 2021-06-24 14:15:07 +0200 |
commit | 14ab361f85f50d4f9bf3a6106f61a8b5697f9c90 (patch) | |
tree | 412a1ffa8813a0d6465902a9c43981a2a9a40acf | |
parent | c7bf7f4e6bd1757134f0dc044fc5cf14c0fac16b (diff) | |
download | openpgp-ca-14ab361f85f50d4f9bf3a6106f61a8b5697f9c90.tar.gz |
New clippy lints
-rw-r--r-- | openpgp-ca-lib/tests/test_oca.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/openpgp-ca-lib/tests/test_oca.rs b/openpgp-ca-lib/tests/test_oca.rs index 5aa1404..586c64d 100644 --- a/openpgp-ca-lib/tests/test_oca.rs +++ b/openpgp-ca-lib/tests/test_oca.rs @@ -945,15 +945,15 @@ fn test_refresh() -> Result<()> { ca_sigs[1].signature_validity_period(), Some(Duration::new(864000, 0)) ); - assert_eq!(cert.inactive, false); + assert!(!cert.inactive); } "Bob" => { assert_eq!(ca_sigs.len(), 1); - assert_eq!(cert.inactive, false); + assert!(!cert.inactive); } "Carol" => { assert_eq!(ca_sigs.len(), 1); - assert_eq!(cert.inactive, false); + assert!(!cert.inactive); } "Dave" => { assert_eq!(ca_sigs.len(), 1); @@ -961,7 +961,7 @@ fn test_refresh() -> Result<()> { ca_sigs[0].signature_validity_period(), Some(Duration::new(864000, 0)) ); - assert_eq!(cert.inactive, true); + assert!(cert.inactive); } _ => panic!("unexpected cert found"), |