BAEL-255 - minor changes

This commit is contained in:
slavisa-baeldung 2016-10-05 07:24:26 +02:00
parent 7b587286a4
commit ea39b9cacf
2 changed files with 2 additions and 3 deletions

View File

@ -1 +0,0 @@
Hello World from fileTest_2.txt!!!

View File

@ -36,10 +36,10 @@ public class FileOperationsTest {
@Test
public void givenFileNameAsAbsolutePath_whenUsingClasspath_thenFileData() throws IOException {
String expectedData = "Hello World from fileTest_2.txt!!!";
String expectedData = "Hello World from fileTest.txt!!!";
Class clazz = FileOperationsTest.class;
InputStream inputStream = clazz.getResourceAsStream("/fileTest_2.txt");
InputStream inputStream = clazz.getResourceAsStream("/fileTest.txt");
String data = readFromInputStream(inputStream);
Assert.assertEquals(expectedData, data.trim());