Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vernedeng committed Apr 22, 2024
1 parent b36a698 commit 0a917bc
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,4 @@ public void testDeserialize() throws ParseException {
public void testInvalidFormat() {
new DateFormatInfo("MINUTES");
}

@Test(expected = ParseException.class)
public void testUnmatchedText() throws ParseException {
new DateFormatInfo("yyyy-MM-dd").deserialize("22/03/2020");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,4 @@ public void testInvalidFormat() {
new TimeFormatInfo("MINUTES");
}

@Test(expected = ParseException.class)
public void testUnmatchedText() throws ParseException {
new TimeFormatInfo("HH-mm-ss").deserialize("11:12:13");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,4 @@ public void testInvalidFormat() {
new TimestampFormatInfo("MINUTES");
}

@Test(expected = ParseException.class)
public void testUnmatchedText() throws ParseException {
new TimestampFormatInfo("HH:mm:ss yyyy-MM-dd").deserialize("2020-03-22 11:12:13");
}
}

0 comments on commit 0a917bc

Please sign in to comment.