JAVA-24414: Changes made for fixing failing test cases in core-java-st… (#14647)

This commit is contained in:
Bipin kumar 2023-09-08 14:28:51 +05:30 committed by GitHub
parent 62e3033f5c
commit b4d796004d
3 changed files with 6 additions and 1 deletions

View File

@ -27,7 +27,7 @@ public class StringTooLongUnitTest {
@Test
public void whenStoringInPropertiesString_thenNoCompilationError() throws IOException {
String sValue = null;
try (InputStream input = new FileInputStream("src/main/resources/config.properties")) {
try (InputStream input = new FileInputStream("src/test/resources/config.properties")) {
Properties prop = new Properties();
prop.load(input);
sValue = prop.getProperty("string.too.long");

View File

@ -0,0 +1 @@
string.too.long="a long string example"

View File

@ -0,0 +1,4 @@
Get busy living
or
get busy dying.
--Stephen King