Skip to content

Commit

Permalink
Fixes #24: Fixed accidental solutions in code kata.
Browse files Browse the repository at this point in the history
  • Loading branch information
c-guntur committed Oct 23, 2020
1 parent 58c6fc9 commit 4fa285b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public void verifyMonth() {

// TODO: Replace the "null" below get a Month instance.
// Check: java.time.LocalDateTime.getMonth()
Month tOJMonth = tOJDateTime.getMonth();
Month tOJMonth = null;

assertEquals(Month.AUGUST,
tOJMonth,
Expand All @@ -73,7 +73,7 @@ public void verifyMonthDay() {

// TODO: Replace the MonthDay.now() below get a MonthDay anniversary for the Judgement Day.
// Check: java.time.MonthDay.now(java.time.Clock)
MonthDay anniversaryofJudgementDay = MonthDay.now(terminatorOriginalJudgementDay);
MonthDay anniversaryofJudgementDay = MonthDay.now();

assertEquals(Month.AUGUST,
anniversaryofJudgementDay.getMonth(),
Expand All @@ -97,7 +97,7 @@ public void verifyYear() {

// TODO: Replace the Year.now() below get a Year for the Judgement Day.
// Check: java.time.Year.now(java.time.Clock)
Year yearOfJudgementDay = Year.now(terminatorOriginalJudgementDay);
Year yearOfJudgementDay = Year.now();

assertEquals(1997,
yearOfJudgementDay.getValue(),
Expand Down

0 comments on commit 4fa285b

Please sign in to comment.