mjsax commented on code in PR #20424: URL: https://github.com/apache/kafka/pull/20424#discussion_r2308509485
########## server-common/src/test/java/org/apache/kafka/server/util/CommandLineUtilsTest.java: ########## @@ -55,35 +55,35 @@ public void testParseEmptyArgAsValid() { List<String> argArray = List.of("my.empty.property=", "my.empty.property1"); Properties props = CommandLineUtils.parseKeyValueArgs(argArray); - assertEquals(props.getProperty("my.empty.property"), "", "Value of a key with missing value should be an empty string"); - assertEquals(props.getProperty("my.empty.property1"), "", "Value of a key with missing value with no delimiter should be an empty string"); + assertEquals("", props.getProperty("my.empty.property"), "Value of a key with missing value should be an empty string"); + assertEquals("", props.getProperty("my.empty.property1"), "Value of a key with missing value with no delimiter should be an empty string"); Review Comment: Fixing incorrect order for expected vs actual value. -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org