b/2377547 Fixed a test hard codes the "current year". So come happy new year and the test fails.
Change-Id: I4f8731cc8c23965e87a01fe1132b0478ee5713ad
diff --git a/tests/src/com/android/calendar/FormatDateRangeTest.java b/tests/src/com/android/calendar/FormatDateRangeTest.java
index 548fc1c..38d6bc0 100644
--- a/tests/src/com/android/calendar/FormatDateRangeTest.java
+++ b/tests/src/com/android/calendar/FormatDateRangeTest.java
@@ -172,7 +172,7 @@
new DateTest(
Calendar.getInstance().get(Calendar.YEAR) - 1, 0, 3, 13, 0,
DateUtils.FORMAT_SHOW_DATE,
- "January 3, 2008"),
+ "January 3, " + (Calendar.getInstance().get(Calendar.YEAR) - 1)),
};
@Override