aboutsummaryrefslogtreecommitdiff
path: root/juick-common/src/test
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-11-01 13:03:27 +0300
committerGravatar Vitaly Takmazov2018-11-01 13:03:27 +0300
commit406d72ea371b95e30be68a511b9c516b67d34fd3 (patch)
tree89ceade567d3db0601dd9987243c6ed97faa2eb4 /juick-common/src/test
parentee4c1ef3b11d66129f64ca5361e9a7ef15779395 (diff)
RFC1123 http date formatter (2DIGIT day-of-month)
Diffstat (limited to 'juick-common/src/test')
-rw-r--r--juick-common/src/test/java/com/juick/FormatterTest.java1
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"));
}
}