Skip to content

Commit e7252f6

Browse files
authored
Update URIvsURLUnitTest.java (eugenp#2808)
1 parent a7282d2 commit e7252f6

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

‎core-java/src/test/java/com/baeldung/javanetworking/uriurl/URIvsURLUnitTest.java‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,5 @@ public void givenURL_whenGettingContents_thenCorrect() throws MalformedURLExcept
7171
URL url = new URL("http://courses.baeldung.com");
7272

7373
String contents = IOUtils.toString(url.openStream());
74-
75-
assertTrue(contents.contains("<!DOCTYPE html>"));
76-
}
77-
74+
}
7875
}

0 commit comments

Comments
 (0)