From ece6eab71912ba3e3dbee12ce97811dd324deb24 Mon Sep 17 00:00:00 2001 From: slavisa-baeldung Date: Wed, 5 Oct 2016 07:16:32 +0200 Subject: [PATCH] BAEL-255 - minor changes --- .../java/com/baeldung/file/FileOperationsTest.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/core-java-8/src/test/java/com/baeldung/file/FileOperationsTest.java b/core-java-8/src/test/java/com/baeldung/file/FileOperationsTest.java index 9f0781ca02..fc54055be7 100644 --- a/core-java-8/src/test/java/com/baeldung/file/FileOperationsTest.java +++ b/core-java-8/src/test/java/com/baeldung/file/FileOperationsTest.java @@ -56,18 +56,6 @@ public class FileOperationsTest { Assert.assertThat(data.trim(), CoreMatchers.containsString(expectedData)); } - /*@Test - public void givenFileName_whenUsingJarFile_thenFileData() throws IOException { - String expectedData = "BSD License"; - - Class clazz = Matchers.class; - ClassLoader classLoader = clazz.getClassLoader(); - InputStream inputStream = classLoader.getResourceAsStream("LICENSE.txt"); - String data = readFromInputStream(inputStream); - - Assert.assertThat(data.trim(), CoreMatchers.containsString(expectedData)); - }*/ - @Test public void givenURLName_whenUsingURL_thenFileData() throws IOException { String expectedData = "Baeldung";