diff options
author | Dave Borowitz <dborowitz@google.com> | 2015-07-28 10:53:07 -0700 |
---|---|---|
committer | Dave Borowitz <dborowitz@google.com> | 2015-07-28 10:53:07 -0700 |
commit | 94812ef1e97d8bcd93d66fbbb68c8e02ae43b845 (patch) | |
tree | 77bc494d404a49225171d804ce2670d74170a064 /org.eclipse.jgit.test | |
parent | ffa3d4bdb4714bec320de9ecfacb42463abc276b (diff) | |
download | jgit-94812ef1e97d8bcd93d66fbbb68c8e02ae43b845.tar.gz jgit-94812ef1e97d8bcd93d66fbbb68c8e02ae43b845.zip |
PushCertificate: Omit null pushee from text representation
Change-Id: Ie9546f2e0e9ee62e0a3c919572153b6076355195
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 644b9017ce..0647167eab 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 @@ -360,6 +360,7 @@ public class PushCertificateParserTest { PushCertificate cert = parser.build(); assertEquals("0.1", cert.getVersion()); assertNull(cert.getPushee()); + assertFalse(cert.toText().contains(PushCertificateParser.PUSHEE)); } private static String concatPacketLines(String input, int begin, int end) |