From 89e87f91e77f9215217b49a97aa3f767d7a82efb Mon Sep 17 00:00:00 2001 From: Joel Costigliola Date: Thu, 19 Jul 2012 20:38:20 +0200 Subject: [PATCH] minor reformatting --- .../examples/AssertionsWithCustomComparatorExamples.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/org/fest/assertions/examples/AssertionsWithCustomComparatorExamples.java b/src/main/java/org/fest/assertions/examples/AssertionsWithCustomComparatorExamples.java index db443f6..3b767ee 100644 --- a/src/main/java/org/fest/assertions/examples/AssertionsWithCustomComparatorExamples.java +++ b/src/main/java/org/fest/assertions/examples/AssertionsWithCustomComparatorExamples.java @@ -189,8 +189,7 @@ public class AssertionsWithCustomComparatorExamples extends AbstractAssertionsEx .isIn("2002-12-01") // ok same year and month .isNotIn("2002-11-01", "2002-10-01"); // same year but different month - // build date away from today by one day (if we are at the end of the month we subtract one day, otherwise we add - // one) + // build date away from today by one day (if we are at the end of the month we subtract one day, otherwise we add one) Date oneDayFromTodayInSameMonth = monthOf(tomorrow()) == monthOf(new Date()) ? tomorrow() : yesterday(); assertThat(oneDayFromTodayInSameMonth).usingComparator(yearAndMonthComparator).isToday(); }