Update URIvsURLUnitTest.java (#2808)
This commit is contained in:
parent
a7282d233b
commit
e7252f61aa
@ -71,8 +71,5 @@ public class URIvsURLUnitTest {
|
|||||||
URL url = new URL("http://courses.baeldung.com");
|
URL url = new URL("http://courses.baeldung.com");
|
||||||
|
|
||||||
String contents = IOUtils.toString(url.openStream());
|
String contents = IOUtils.toString(url.openStream());
|
||||||
|
}
|
||||||
assertTrue(contents.contains("<!DOCTYPE html>"));
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user