This is an automated email from the ASF dual-hosted git repository.
jbonofre pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/karaf-decanter.git
The following commit(s) were added to refs/heads/main by this push:
new 883b52c1 Fix SplitParserTest
883b52c1 is described below
commit 883b52c14a0b0c1dc5c6aadc55738cd0f799b8e1
Author: Jean-Baptiste Onofré <[email protected]>
AuthorDate: Sat Feb 11 07:15:04 2023 +0100
Fix SplitParserTest
---
.../java/org/apache/karaf/decanter/parser/split/SplitParserTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/parser/split/src/test/java/org/apache/karaf/decanter/parser/split/SplitParserTest.java
b/parser/split/src/test/java/org/apache/karaf/decanter/parser/split/SplitParserTest.java
index a2ad070f..cf8d94d5 100644
---
a/parser/split/src/test/java/org/apache/karaf/decanter/parser/split/SplitParserTest.java
+++
b/parser/split/src/test/java/org/apache/karaf/decanter/parser/split/SplitParserTest.java
@@ -64,7 +64,7 @@ public class SplitParserTest {
Dictionary<String, Object> config = new Hashtable<>();
config.put("separator", "\\s+");
config.put("keys", "this,is");
- config.put("useDefaultKey", true);
+ config.put("useDefaultKey", "true");
splitParser.activate(config);
Map<String, Object> result = splitParser.parse("line", TEST_LINE);
@@ -81,7 +81,7 @@ public class SplitParserTest {
Dictionary<String, Object> config = new Hashtable<>();
config.put("separator", "\\s+");
config.put("keys", "this,is");
- config.put("useDefaultKey", true);
+ config.put("useDefaultKey", "true");
splitParser.activate(config);
Map<String, Object> result = splitParser.parse("line", TEST_LINE);