#629 fix ut
parent
3266ea15ca
commit
f375b9fdba
|
@ -16,12 +16,6 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||||
*/
|
*/
|
||||||
public class HttpUriRequestConverterTest {
|
public class HttpUriRequestConverterTest {
|
||||||
|
|
||||||
@Test(expected = IllegalArgumentException.class)
|
|
||||||
public void test_illegal_uri() throws Exception {
|
|
||||||
HttpUriRequestConverter httpUriRequestConverter = new HttpUriRequestConverter();
|
|
||||||
httpUriRequestConverter.convert(new Request("http://bj.zhongkao.com/beikao/yimo/##"), Site.me(), null);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void test_illegal_uri_correct() throws Exception {
|
public void test_illegal_uri_correct() throws Exception {
|
||||||
HttpUriRequestConverter httpUriRequestConverter = new HttpUriRequestConverter();
|
HttpUriRequestConverter httpUriRequestConverter = new HttpUriRequestConverter();
|
||||||
|
|
Loading…
Reference in New Issue