diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2022-02-08 15:53:54 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2022-02-08 15:53:54 +0100 |
commit | 6873c811adaa2be86e2bab2b684a80b59fc04c5b (patch) | |
tree | ec578be7d1e107502cc256cb34214d77fb33ff79 /openpgp/src | |
parent | 61e8dcaca678e066fc2dac8fec8e4031d7376e1a (diff) |
openpgp: Fix test.
- We cannot make that kind of assumption in a test.
Diffstat (limited to 'openpgp/src')
-rw-r--r-- | openpgp/src/types/mod.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/openpgp/src/types/mod.rs b/openpgp/src/types/mod.rs index ba50cccd..bdadccf7 100644 --- a/openpgp/src/types/mod.rs +++ b/openpgp/src/types/mod.rs @@ -712,9 +712,7 @@ impl AEADAlgorithm { /// use sequoia_openpgp as openpgp; /// use openpgp::types::AEADAlgorithm; /// - /// assert!(AEADAlgorithm::EAX.is_supported()); - /// - /// assert!(!AEADAlgorithm::OCB.is_supported()); + /// assert!(! AEADAlgorithm::Private(100).is_supported()); /// ``` pub fn is_supported(&self) -> bool { self.is_supported_by_backend() |