diff options
author | Dave Borowitz <dborowitz@google.com> | 2015-07-15 18:07:06 -0700 |
---|---|---|
committer | Dave Borowitz <dborowitz@google.com> | 2015-07-15 18:36:45 -0700 |
commit | 39dc898dca3beccda832460772f80c4afa1a1fd9 (patch) | |
tree | d1de1cbc55655d3d7e64743bdfc8ceaf56ff8fe9 /org.eclipse.jgit.test | |
parent | 74a57f37441eb5faa1ad335b095fcb43bc924c1a (diff) | |
download | jgit-39dc898dca3beccda832460772f80c4afa1a1fd9.tar.gz jgit-39dc898dca3beccda832460772f80c4afa1a1fd9.zip |
PushCertificate: Add toTextWithSignature() method
Change-Id: Ic0129373cc0c0321ffa43dc11a658d4f891ec2c2
Diffstat (limited to 'org.eclipse.jgit.test')
-rw-r--r-- | org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/PushCertificateParserTest.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/PushCertificateParserTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/PushCertificateParserTest.java index 824766e165..644b9017ce 100644 --- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/PushCertificateParserTest.java +++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/PushCertificateParserTest.java @@ -215,6 +215,7 @@ public class PushCertificateParserTest { cmd.getNewId().name()); assertEquals(concatPacketLines(INPUT, 0, 6), cert.toText()); + assertEquals(concatPacketLines(INPUT, 0, 17), cert.toTextWithSignature()); String signature = concatPacketLines(INPUT, 6, 17); assertTrue(signature.startsWith(PushCertificateParser.BEGIN_SIGNATURE)); |