mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-09-13 20:29:39 +02:00
Add KeyRingInfo.getVersion()
This commit is contained in:
parent
98609375d1
commit
dae5288456
2 changed files with 11 additions and 0 deletions
|
@ -75,6 +75,8 @@ public class KeyRingInfoTest {
|
|||
assertEquals(Collections.singletonList("<emil@email.user>"), pInfo.getUserIds());
|
||||
assertEquals(Collections.singletonList("emil@email.user"), sInfo.getEmailAddresses());
|
||||
assertEquals(Collections.singletonList("emil@email.user"), pInfo.getEmailAddresses());
|
||||
assertEquals(4, sInfo.getVersion());
|
||||
assertEquals(4, pInfo.getVersion());
|
||||
|
||||
assertTrue(sInfo.isSecretKey());
|
||||
assertFalse(pInfo.isSecretKey());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue