aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/com/juick/FormatterTest.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-10-22 14:18:47 +0000
committerGravatar Vitaly Takmazov2019-10-22 14:18:47 +0000
commitf62db11edaa4c7420591e03a04b63cb3e3e136c2 (patch)
tree1d187ba51a081374e108d9b19ab50ab47bcc6436 /src/test/java/com/juick/FormatterTest.java
parentf00be8c6d4b1d420119f9f08d400719fd62d2d39 (diff)
Revert "Spring Boot 2.2"
This reverts commit d3648888eaea9904fb3b806d56b22827c7614f54.
Diffstat (limited to 'src/test/java/com/juick/FormatterTest.java')
-rw-r--r--src/test/java/com/juick/FormatterTest.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/java/com/juick/FormatterTest.java b/src/test/java/com/juick/FormatterTest.java
index 8a6bf83f..da9f5d26 100644
--- a/src/test/java/com/juick/FormatterTest.java
+++ b/src/test/java/com/juick/FormatterTest.java
@@ -39,13 +39,13 @@ public class FormatterTest {
public void forAnyDateFormatterShouldReturnNotEmptyString() throws Exception {
Instant ts = Instant.now();
- assertThat(DateFormattersHolder.getMessageFormatterInstance().format(ts), not(emptyOrNullString()));
- assertThat(DateFormattersHolder.getRssFormatterInstance().format(ts), not(emptyOrNullString()));
+ assertThat(DateFormattersHolder.getMessageFormatterInstance().format(ts), not(isEmptyOrNullString()));
+ assertThat(DateFormattersHolder.getRssFormatterInstance().format(ts), not(isEmptyOrNullString()));
ts = Instant.ofEpochMilli(RandomUtils.nextLong(1, Long.MAX_VALUE / 10000));
- assertThat(DateFormattersHolder.getMessageFormatterInstance().format(ts), not(emptyOrNullString()));
- assertThat(DateFormattersHolder.getRssFormatterInstance().format(ts), not(emptyOrNullString()));
+ assertThat(DateFormattersHolder.getMessageFormatterInstance().format(ts), not(isEmptyOrNullString()));
+ assertThat(DateFormattersHolder.getRssFormatterInstance().format(ts), not(isEmptyOrNullString()));
}
@Test