makesure assertEquals() is comparing to long values

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@917969 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2010-03-02 11:20:42 +00:00
parent 1035ac3417
commit f782fc0b4a
1 changed files with 2 additions and 1 deletions

View File

@ -39,7 +39,8 @@ public class CronParserTest {
long current = 60*1000*60*5;
long next = CronParser.getNextScheduledTime(test, current);
long result = next - current;
assertEquals(60*1000*60*18,result);
long expected = 60*1000*60*18;
assertEquals(expected,result);
}
@Test