Skip to content

Commit 6d67cbf

Browse files
cdimascioJorge Melegaticarmine
authored
Cmd/melegati ml (#79)
* Handling real multi line entries. * Using equals to compare objects. * adds # line to multi-line ev test --------- Co-authored-by: Jorge Melegati <[email protected]> Co-authored-by: carmine <[email protected]>
1 parent f3c43ec commit 6d67cbf

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

src/test/java/tests/BasicTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class BasicTests {
1414
put("MY_TEST_EV1", "my test ev 1");
1515
put("MY_TEST_EV2", "my test ev 2");
1616
put("WITHOUT_VALUE", "");
17-
put("MULTI_LINE", "hello\nworld\nmulti");
17+
put("MULTI_LINE", "hello\nworld\n# not a comment\nmulti");
1818
put("TWO_LINE", "hello\nworld");
1919
put("TRAILING_COMMENT", "value");
2020
put("QUOTED_VALUE", "iH4>hb_d0#_GN8d]6");

src/test/resources/.env

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ MY_TEST_EV2=my test ev 2
44
WITHOUT_VALUE=
55
MULTI_LINE="hello
66
world
7+
# not a comment
78
multi"
89
TWO_LINE="hello
910
world"

src/test/resources/env

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ MY_TEST_EV2=my test ev 2
44
WITHOUT_VALUE=
55
MULTI_LINE="hello
66
world
7+
# not a comment
78
multi"
89
TWO_LINE="hello
910
world"

0 commit comments

Comments
 (0)