summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2020-04-28 10:50:22 +0200
committerJustus Winter <justus@sequoia-pgp.org>2020-04-28 10:50:22 +0200
commitc72e1b0855795d2fcd914157e1bd64c66bd6b997 (patch)
treedbaae0f8537c0d2812ae680b3e8a674f271c2aa0
parentcd05b15f1cd0517fa9ad4129fdaed3e0a3f21169 (diff)
openpgp: Fix tests.
-rw-r--r--openpgp/src/parse.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/parse.rs b/openpgp/src/parse.rs
index cfcb6b3b..35dcbcc4 100644
--- a/openpgp/src/parse.rs
+++ b/openpgp/src/parse.rs
@@ -4203,7 +4203,7 @@ mod test {
plaintext: Data<'a>,
paths: &'a[ (Tag, &'a[ usize ] ) ],
}
- const DECRYPT_TESTS: [DecryptTest; 10] = [
+ const DECRYPT_TESTS: &[DecryptTest] = &[
// Messages with a relatively simple structure:
//
// [ SKESK SEIP [ Literal MDC ] ].