georgereuben commented on code in PR #7755:
URL: https://github.com/apache/gravitino/pull/7755#discussion_r2227195763
##########
core/src/test/java/org/apache/gravitino/config/TestConfigEntry.java:
##########
@@ -168,4 +169,11 @@ public void testCheckValue() {
Assertions.assertThrows(
IllegalArgumentException.class, () ->
testConfOptional.readFrom(configMap));
}
+
+ @Test
+ public void testStrToSeqEmptyString() {
+ ConfigEntry<String> conf = new
ConfigBuilder("gravitino.test.seq").stringConf().create();
+ List<String> result = conf.strToSeq("", s -> s);
Review Comment:
Added a test to check that null strings return empty lists as well
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]