]> source.dussan.org Git - jgit.git/commit
UploadPackReachabilityTest: Use assertThrows instead of thrown 06/149806/1
authorIvan Frade <ifrade@google.com>
Wed, 18 Sep 2019 21:38:37 +0000 (14:38 -0700)
committerIvan Frade <ifrade@google.com>
Wed, 18 Sep 2019 21:43:28 +0000 (14:43 -0700)
commit83a6145f2fd08e6e256c4342799476c90d7de2e0
treef0a9782d03d84d495aab8c2b0156aeba440097bd
parent208ddab5ab1722269245e643430f0d56cd04233d
UploadPackReachabilityTest: Use assertThrows instead of thrown

In https://git.eclipse.org/r/c/144009/ UploadPack tests moved from
thrown to assertThrows, but newly introduced tests are still using
the thrown.

Update test so all of them use assertThrows.

Change-Id: I0ff19a6f8ba9e978d8ffc7a912c0572d9f00c7fa
Signed-off-by: Ivan Frade <ifrade@google.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/UploadPackReachabilityTest.java