Skip to content

Commit ece6eab

Browse files
BAEL-255 - minor changes
1 parent db25745 commit ece6eab

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

‎core-java-8/src/test/java/com/baeldung/file/FileOperationsTest.java‎

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -56,18 +56,6 @@ public void givenFileName_whenUsingJarFile_thenFileData() throws IOException {
5656
Assert.assertThat(data.trim(), CoreMatchers.containsString(expectedData));
5757
}
5858

59-
/*@Test
60-
public void givenFileName_whenUsingJarFile_thenFileData() throws IOException {
61-
String expectedData = "BSD License";
62-
63-
Class clazz = Matchers.class;
64-
ClassLoader classLoader = clazz.getClassLoader();
65-
InputStream inputStream = classLoader.getResourceAsStream("LICENSE.txt");
66-
String data = readFromInputStream(inputStream);
67-
68-
Assert.assertThat(data.trim(), CoreMatchers.containsString(expectedData));
69-
}*/
70-
7159
@Test
7260
public void givenURLName_whenUsingURL_thenFileData() throws IOException {
7361
String expectedData = "Baeldung";

0 commit comments

Comments
 (0)