Github user kaiyuanw commented on a diff in the pull request:

    https://github.com/apache/commons-lang/pull/192#discussion_r80388001
  
    --- Diff: src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java ---
    @@ -693,6 +693,59 @@ public void testToCalendar() {
                 // expected
             }
         }
    +    
    +    
//-----------------------------------------------------------------------
    +    @Test
    +    public void testToCalendarWithDateNotNull() {
    +        assertEquals("Convert Date and TimeZone to a Calendar, but failed 
to get the Date back", date1, DateUtils.toCalendar(date1, zone).getTime());
    +    }
    +    
    +    
//-----------------------------------------------------------------------
    +    @Test
    +    public void testToCalendarWithDateNull() {
    +        try {
    --- End diff --
    
    This is JUnit 4 feature.  I've fixed that but note that we cannot use JUnit 
3 anymore.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to