This is an automated email from the ASF dual-hosted git repository.

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit 0a9f5053b9be0528a2d049de00c6d7cdf3e21e0d
Author: Tran Tien Duc <[email protected]>
AuthorDate: Thu Aug 22 16:29:10 2019 +0700

    JAMES-2871 Loading multiple commas should work with normal properties
---
 .../src/test/java/org/apache/james/utils/PropertiesProviderTest.java    | 2 +-
 server/container/guice/configuration/src/test/resources/a.properties    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/server/container/guice/configuration/src/test/java/org/apache/james/utils/PropertiesProviderTest.java
 
b/server/container/guice/configuration/src/test/java/org/apache/james/utils/PropertiesProviderTest.java
index bbda6a3..01a0b02 100644
--- 
a/server/container/guice/configuration/src/test/java/org/apache/james/utils/PropertiesProviderTest.java
+++ 
b/server/container/guice/configuration/src/test/java/org/apache/james/utils/PropertiesProviderTest.java
@@ -81,6 +81,6 @@ class PropertiesProviderTest {
     @Test
     void getConfigurationShouldLoadListValues() throws Exception {
         assertThat(testee.getConfiguration("a").getList(String.class, 
"keyByList"))
-            .containsExactly("value1", "value2");
+            .containsExactly("value1", "value2", "value3", "value4", "value5");
     }
 }
\ No newline at end of file
diff --git 
a/server/container/guice/configuration/src/test/resources/a.properties 
b/server/container/guice/configuration/src/test/resources/a.properties
index 43e4d04..0a60fcc 100644
--- a/server/container/guice/configuration/src/test/resources/a.properties
+++ b/server/container/guice/configuration/src/test/resources/a.properties
@@ -1,2 +1,2 @@
 prop=value1
-keyByList=value1, value2
\ No newline at end of file
+keyByList=value1, value2, value3, value4, value5
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to