ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bodewig <>
Subject [GitHub] ant issue #40: Add tests for parseLenientDateTime
Date Sat, 30 Sep 2017 04:50:54 GMT
Github user bodewig commented on the issue:
    Many thanks.
    I've fixed the line-ends to contain line-feeds only as I couldn't merge your patch on
a Linux box, therefore the PR now has conflicts. Sorry about that.
    As written the tests depend on the timezone of the machine  running the tests:
    Testcase: testLenientDateTime took 0,006 sec
    expected:<1488622440000> but was:<1488618840000>
    junit.framework.AssertionFailedError: expected:<1488622440000> but was:<1488618840000>
    	at org.junit.Assert.failNotEquals(
    	at org.junit.Assert.assertEquals(
    	at org.junit.Assert.assertEquals(
    	at org.junit.Assert.assertEquals(
    this is on GMT+2 and off by an hour.  But as this is off by an hour I think it is more
about me being in daylight saving time right now while the date you picked was not (the EU
switches on the last weekends of March and October).


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message