summaryrefslogtreecommitdiffstats
path: root/openpgp/tests
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2020-03-26 15:00:31 +0100
committerJustus Winter <justus@sequoia-pgp.org>2020-03-26 16:54:31 +0100
commite26c4d5a8fb582ec2a3c4c373536913aa2d0a468 (patch)
tree993a1bbf1b057245bdb1b06fc0ef0f6d25d8578f /openpgp/tests
parent903e1662829acd5be564380c1969008225578024 (diff)
openpgp: Fix test.
Diffstat (limited to 'openpgp/tests')
-rw-r--r--openpgp/tests/for-each-artifact.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/openpgp/tests/for-each-artifact.rs b/openpgp/tests/for-each-artifact.rs
index 51dd749d..128fe8e4 100644
--- a/openpgp/tests/for-each-artifact.rs
+++ b/openpgp/tests/for-each-artifact.rs
@@ -196,6 +196,7 @@ fn for_all_packets<F>(src: &Path, mut fun: F) -> openpgp::Result<()>
openpgp::armor::Kind::File,
&[])?;
packet.serialize(&mut w)?;
+ w.finalize()?;
return Err(e);
},
}