JAVA-24414: Changes made for fixing failing test cases in core-java-st… (#14647)
This commit is contained in:
parent
62e3033f5c
commit
b4d796004d
|
@ -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");
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
string.too.long="a long string example"
|
|
@ -0,0 +1,4 @@
|
|||
Get busy living
|
||||
or
|
||||
get busy dying.
|
||||
--Stephen King
|
Loading…
Reference in New Issue