Commit cd3406d5 authored by Tobias Thierer's avatar Tobias Thierer
Browse files

Fix libcore.libcore.icu.DateIntervalFormatTest#testEndAtMidnight

The test was asserting that the calendar year is not part of the
formatted result, even though it is (for years in the past).

This CL updates the test for the fact that 2018 is now a previous
year. The CL adds a test for the case where start and end are in
different years.

Test: atest CtsLibcoreTestCases:libcore.libcore.icu.DateIntervalFormatTest
Bug: 122240208

Change-Id: I6ebe990349b8a131e2f5611022eb575002f49730
parent 57be11df
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment