diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2022-03-02 14:43:45 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2022-03-02 14:43:45 +0100 |
commit | cc038d2d34598ada45f7417c0f253ed96f6661d1 (patch) | |
tree | 25ae8f854b3d30f3f64e8b4326a45aa220e59662 | |
parent | d1194d2bc20671eded6759f0d7b933cb6dd01d9c (diff) |
xxx i think that this is too strong: there could be other reasons
-rw-r--r-- | openpgp/src/parse.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/openpgp/src/parse.rs b/openpgp/src/parse.rs index de76328c..35f0156a 100644 --- a/openpgp/src/parse.rs +++ b/openpgp/src/parse.rs @@ -5831,10 +5831,8 @@ mod test { Packet::PublicSubkey(_) => subkeys += 1, Packet::UserID(_) => userids += 1, Packet::UserAttribute(_) => uas += 1, - Packet::Unknown(ref u) => { + Packet::Unknown(_) => { unknown += 1; - assert_match!(Some(&Error::MalformedPacket(_)) - = u.error().downcast_ref()); }, _ => (), } |