]> source.dussan.org Git - jgit.git/commit
HttpClientTests: Use assertEquals to assert about response code 71/127971/2
authorDavid Pursehouse <david.pursehouse@gmail.com>
Fri, 24 Aug 2018 02:18:47 +0000 (11:18 +0900)
committerDavid Pursehouse <david.pursehouse@gmail.com>
Sat, 25 Aug 2018 05:16:30 +0000 (14:16 +0900)
commit3f8b9cb5fa74b8ea57023ab86b230093cd8e0e5e
tree39f5eadd28332c8d2811ce09497be31f135c8bb0
parent40e9c384052a9b86ed0b51dc435d83e58515e48d
HttpClientTests: Use assertEquals to assert about response code

The current usage of assertThat causes a warning in Eclipse:

  "The expression of type int is boxed into Integer".

Replace it with assertEquals which does not cause this warning, and is
consistent with how such assertions are done in other tests.

Change-Id: Id3de3548353bf6be069b6ede89c605d094b6d3f4
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/HttpClientTests.java