Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-1220

Add tests for missed branches in DateUtils

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.4
    • 3.5
    • lang.time.*
    • Patch

    Description

      Place holder for https://github.com/apache/commons-lang/pull/133

      Fixes a typo and adds tests for some missed branches in DateUtils.

      The isSame methods require both dates to be non-null. Previously, breaking the check to allow one of the dates to be null didn't trigger a failing test.

      Attachments

        Activity

          People

            kinow Bruno P. Kinoshita
            kinow Bruno P. Kinoshita
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified