summaryrefslogtreecommitdiffstats
path: root/openpgp/tests/for-each-artifact.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/tests/for-each-artifact.rs')
-rw-r--r--openpgp/tests/for-each-artifact.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/openpgp/tests/for-each-artifact.rs b/openpgp/tests/for-each-artifact.rs
index b45364ea..8f049ef4 100644
--- a/openpgp/tests/for-each-artifact.rs
+++ b/openpgp/tests/for-each-artifact.rs
@@ -193,8 +193,7 @@ fn for_all_packets<F>(src: &Path, mut fun: F) -> openpgp::Result<()>
let mut sink = io::stderr();
let mut w = openpgp::armor::Writer::new(
&mut sink,
- openpgp::armor::Kind::File,
- &[])?;
+ openpgp::armor::Kind::File)?;
packet.serialize(&mut w)?;
w.finalize()?;
return Err(e);