mirror of https://github.com/apache/jclouds.git
fixed joda test
This commit is contained in:
parent
d7bbfe9cd8
commit
0560ba124b
|
@ -54,13 +54,11 @@ public class JodaDateServiceTest extends DateServiceTest {
|
||||||
assert dateService instanceof JodaDateService;
|
assert dateService instanceof JodaDateService;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* FIXME Joda routines cannot parse or correctly format the 'z' format specifier, e.g. 'GMT' used in RFC822 pattern. */
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Test
|
@Test
|
||||||
public void testRfc822DateFormat() throws ExecutionException, InterruptedException {
|
public void testRfc822DateFormat() throws ExecutionException, InterruptedException {
|
||||||
String dsString = dateService.rfc822DateFormat(testData[0].date);
|
String dsString = dateService.rfc822DateFormat(testData[0].date);
|
||||||
assertEquals(dsString, testData[0].rfc822DateString.replace("GMT", "+00:00"));
|
assertEquals(dsString, testData[0].rfc822DateString);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue