diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2016-09-13 11:39:04 -0400 |
---|---|---|
committer | Niko Tyni <ntyni@debian.org> | 2018-06-29 10:20:20 +0200 |
commit | a510c6630f5106b3842fd4883f97ba3f525f81ec (patch) | |
tree | e9c6856a628c938c5bd1c2cdb9a6dd464daed4ab | |
parent | 0800668d64ed71e383ef03ae3d6e57d69b2355b7 (diff) |
ensure that test covers all signatures
The earlier test wasn't reporting on one of the known self-sigs for
the test key for some reason.
This change ensures that all known signatures are present.
Gbp-Pq: Name 0004-ensure-that-test-covers-all-signatures.patch
-rw-r--r-- | t/get_public_keys.t | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/t/get_public_keys.t b/t/get_public_keys.t index 73e320b..9e96f7d 100644 --- a/t/get_public_keys.t +++ b/t/get_public_keys.t @@ -83,7 +83,17 @@ TEST date_string => '2000-02-06', hex_id => '53AE596EF950DA9C', sig_class => 0x13, - validity => '!')); + validity => '!'), + GnuPG::Signature->new( + date => 1177086329, + algo_num => 17, + is_exportable => 1, + user_id_string => 'GnuPG test key (for testing purposes only)', + date_string => '2007-04-20', + hex_id => '53AE596EF950DA9C', + sig_class => 0x13, + validity => '!'), + ); my $uid1 = GnuPG::UserId->new( as_string => 'Foo Bar (1)', validity => '-'); |