Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
JNSimba committed Dec 26, 2024
1 parent 29a4954 commit 7e27dc5
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ public void testParseIdentifierIllegalEmpty() throws IllegalArgumentException {
@Test
public void testParseIdentifierIllegal() throws Exception {
String invalidIdentifier3 = "a.b.c";
RestService.parseIdentifier(invalidIdentifier3, logger);

invalidIdentifier3 = "a.b.c.d.e";
thrown.expect(IllegalArgumentException.class);
thrown.expectMessage(
"argument 'table.identifier' is illegal, value is '" + invalidIdentifier3 + "'.");
Expand Down

0 comments on commit 7e27dc5

Please sign in to comment.