]> source.dussan.org Git - jgit.git/commit
URIishTest: Use @Test annotation's `expected` argument 21/64321/2
authorDavid Pursehouse <david.pursehouse@sonymobile.com>
Thu, 14 Jan 2016 08:25:56 +0000 (17:25 +0900)
committerMatthias Sohn <matthias.sohn@sap.com>
Tue, 19 Jan 2016 16:27:46 +0000 (17:27 +0100)
commit3b63a242efff6ee2e3f3d87d40b8fbdd1fddacd3
tree3bd2e0b1252e30616c428c68d561b236a920055c
parent75e096c80ad3ad413c4ebb0b5369dc6417db00d9
URIishTest: Use @Test annotation's `expected` argument

Specify the expected exception in the annotation, instead of
catching it and calling `fail()` when it wasn't raised.

Change-Id: I8a640c0e42353533e4e73b85b50c224dc060f2d7
Signed-off-by: David Pursehouse <david.pursehouse@sonymobile.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/URIishTest.java