Skip to content

Commit ea39b9c

Browse files
BAEL-255 - minor changes
1 parent 7b58728 commit ea39b9c

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

‎core-java-8/src/main/resources/fileTest_2.txt‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ public void givenFileName_whenUsingClassloader_thenFileData() throws IOException
3636

3737
@Test
3838
public void givenFileNameAsAbsolutePath_whenUsingClasspath_thenFileData() throws IOException {
39-
String expectedData = "Hello World from fileTest_2.txt!!!";
39+
String expectedData = "Hello World from fileTest.txt!!!";
4040

4141
Class clazz = FileOperationsTest.class;
42-
InputStream inputStream = clazz.getResourceAsStream("/fileTest_2.txt");
42+
InputStream inputStream = clazz.getResourceAsStream("/fileTest.txt");
4343
String data = readFromInputStream(inputStream);
4444

4545
Assert.assertEquals(expectedData, data.trim());

0 commit comments

Comments
 (0)