Skip to content

Commit

Permalink
Added map-based test pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
jdereg committed Feb 4, 2024
1 parent 230c80d commit 5610555
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,8 @@ class ConverterEverythingTest
{ mapOf("_v","06-30"), MonthDay.of(6, 30) },
{ mapOf("_v","--06-30"), MonthDay.of(6, 30) },
{ mapOf("_v","--6-30"), new IllegalArgumentException("Unable to extract Month-Day from string: --6-30") },
{ mapOf("month","6", "day", 30), MonthDay.of(6, 30) },
{ mapOf("month",6L, "day", "30"), MonthDay.of(6, 30)},
});
}

Expand Down

0 comments on commit 5610555

Please sign in to comment.