diff options
Diffstat (limited to 'juick-common/src/test/java')
-rw-r--r-- | juick-common/src/test/java/com/juick/FormatterTest.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/juick-common/src/test/java/com/juick/FormatterTest.java b/juick-common/src/test/java/com/juick/FormatterTest.java index 397c4b6c..da9f5d26 100644 --- a/juick-common/src/test/java/com/juick/FormatterTest.java +++ b/juick-common/src/test/java/com/juick/FormatterTest.java @@ -59,5 +59,6 @@ public class FormatterTest { assertThat(DateFormattersHolder.getMessageFormatterInstance().format(date.toInstant()), equalTo("2012-01-01 00:00:00")); assertThat(DateFormattersHolder.getRssFormatterInstance().format(date.toInstant()), equalTo("Sun, 1 Jan 2012 00:00:00")); + assertThat(DateFormattersHolder.getHttpDateFormatter().format(date.toInstant()), equalTo("Sun, 01 Jan 2012 00:00:00 GMT")); } } |