mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-09-09 10:19:39 +02:00
Test fine-grained SOP spec version
This commit is contained in:
parent
3b1edb076c
commit
926e540016
3 changed files with 47 additions and 5 deletions
|
@ -41,4 +41,12 @@ public class VersionCmdTest extends CLITest {
|
|||
assertTrue(info.contains("Bouncy Castle"));
|
||||
assertTrue(info.contains("Stateless OpenPGP Protocol"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testSopSpecVersion() throws IOException {
|
||||
ByteArrayOutputStream out = pipeStdoutToStream();
|
||||
assertSuccess(executeCommand("version", "--sop-spec"));
|
||||
String info = out.toString();
|
||||
assertTrue(info.startsWith("draft-dkg-openpgp-stateless-cli-"));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue