mirror of https://github.com/apache/activemq.git
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:
parent
1035ac3417
commit
f782fc0b4a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue