diff options
Diffstat (limited to 'sq/tests')
-rw-r--r-- | sq/tests/sq-certify.rs | 6 | ||||
-rw-r--r-- | sq/tests/sq-key-adopt.rs | 5 |
2 files changed, 2 insertions, 9 deletions
diff --git a/sq/tests/sq-certify.rs b/sq/tests/sq-certify.rs index ad50662f..4fddb136 100644 --- a/sq/tests/sq-certify.rs +++ b/sq/tests/sq-certify.rs @@ -124,11 +124,7 @@ fn sq_certify() -> Result<()> { "--expires-in", "1d", ]) .stdout().satisfies(|output| { - let p = &mut StandardPolicy::new(); - // XXX: Compat with sequoia-openpgp 1.0.0: - use openpgp::packet::signature::subpacket::SubpacketTag; - p.accept_critical_subpacket(SubpacketTag::TrustSignature); - p.accept_critical_subpacket(SubpacketTag::RegularExpression); + let p = &StandardPolicy::new(); let cert = Cert::from_bytes(output).unwrap(); let vc = cert.with_policy(p, None).unwrap(); diff --git a/sq/tests/sq-key-adopt.rs b/sq/tests/sq-key-adopt.rs index 0bebe2a4..5bb40f32 100644 --- a/sq/tests/sq-key-adopt.rs +++ b/sq/tests/sq-key-adopt.rs @@ -255,10 +255,7 @@ mod integration { Ok(()) } - // XXX: Compat with sequoia-openpgp 1.0.0, which just doesn't - // handle this correctly. However, this case is a bit bonkers, so - // we'll just ignore it for now. - #[allow(dead_code)] + #[test] fn adopt_own_primary() -> Result<()> { // Adopt own primary key. Assert::cargo_binary("sq").with_args(&[ |