summaryrefslogtreecommitdiffstats
path: root/ipc/tests/gpg-agent.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/tests/gpg-agent.rs')
-rw-r--r--ipc/tests/gpg-agent.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/ipc/tests/gpg-agent.rs b/ipc/tests/gpg-agent.rs
index 69d45afb..5ebdd281 100644
--- a/ipc/tests/gpg-agent.rs
+++ b/ipc/tests/gpg-agent.rs
@@ -161,15 +161,15 @@ fn sign() {
// whether the signature checks out mathematically, we apply
// our policy.
match results.get(0) {
- Some(VerificationResult::GoodChecksum(..)) =>
+ Some(VerificationResult::GoodChecksum { .. }) =>
good = true,
- Some(VerificationResult::NotAlive(_)) =>
+ Some(VerificationResult::NotAlive { .. }) =>
return Err(failure::err_msg(
"Good, but not live signature")),
- Some(VerificationResult::MissingKey(_)) =>
+ Some(VerificationResult::MissingKey { .. }) =>
return Err(failure::err_msg(
"Missing key to verify signature")),
- Some(VerificationResult::BadChecksum(_)) =>
+ Some(VerificationResult::BadChecksum { .. }) =>
return Err(failure::err_msg("Bad signature")),
None =>
return Err(failure::err_msg("No signature")),