toxn commented on code in PR #396:
URL: https://github.com/apache/commons-cli/pull/396#discussion_r2369110036


##########
src/test/java/org/apache/commons/cli/TypeHandlerTest.java:
##########
@@ -177,7 +177,7 @@ void testCreateClass() throws ParseException {
     @ParameterizedTest
     @MethodSource("createDateFixtures")
     void testCreateDate(final Date date) {
-        assertEquals(date, TypeHandler.createDate(date.toString()));
+        assertEquals(date, TypeHandler.createDate(new SimpleDateFormat("EEE 
MMM dd HH:mm:ss zzz yyyy").format(date)));

Review Comment:
   done



-- 
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]

Reply via email to