Skip to content

Commit

Permalink
Apply code formatting with Spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
Carpe-Wang committed Nov 18, 2023
1 parent e728875 commit bb8c45d
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -742,9 +742,11 @@ public void testStringBufferDeserialization() {
public void testSetDateFormatWithInvalidPattern() {
GsonBuilder builder = new GsonBuilder();
String invalidPattern = "This is a invalid Pattern";
assertThrows(IllegalArgumentException.class, () -> {
builder.setDateFormat(invalidPattern);
});
assertThrows(
IllegalArgumentException.class,
() -> {
builder.setDateFormat(invalidPattern);
});
}

@Test
Expand Down

0 comments on commit bb8c45d

Please sign in to comment.