Commit f375b9fd authored by yihua.huang's avatar yihua.huang

#629 fix ut

parent 3266ea15
......@@ -16,12 +16,6 @@ import static org.assertj.core.api.Assertions.assertThat;
*/
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
public void test_illegal_uri_correct() throws Exception {
HttpUriRequestConverter httpUriRequestConverter = new HttpUriRequestConverter();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment