mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-10 07:39:16 +00:00
ICU-12554 Fix test to compare the intended objects, instead of two identical objects
X-SVN-Rev: 39240
This commit is contained in:
parent
b581477ea0
commit
bdde6c0c3b
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ public abstract class CalendarHandler implements SerializableTestUtility.Handler
|
|||
cal_b.setTimeInMillis(now);
|
||||
cal_b.roll(Calendar.MONTH, 1);
|
||||
|
||||
return cal_a.getTime().equals(cal_a.getTime());
|
||||
return cal_a.getTime().equals(cal_b.getTime());
|
||||
}
|
||||
|
||||
static class BasicCalendarHandler extends CalendarHandler
|
||||
|
|
Loading…
Add table
Reference in a new issue