Changeset 9807 in josm for trunk/test
- Timestamp:
- 2016-02-15T23:39:36+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/functional/org/openstreetmap/josm/tools/HttpClientTest.java
r9669 r9807 69 69 assertThat(response.getHeaderField("Content-TYPE"), is("application/json")); 70 70 assertThat(response.getHeaderFields().get("Content-Type"), is(Collections.singletonList("application/json"))); 71 assertThat(response.getHeaderFields().get("Content-TYPE"), nullValue());71 assertThat(response.getHeaderFields().get("Content-TYPE"), is(Collections.singletonList("application/json"))); 72 72 try (final InputStream in = response.getContent(); 73 73 final JsonReader json = JsonProvider.provider().createReader(in)) {
Note:
See TracChangeset
for help on using the changeset viewer.