Skip to content

Commit afb1e79

Browse files
committed
feat: extra assertion
1 parent 408ad6a commit afb1e79

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/java/net/sf/jsqlparser/statement/insert/InsertTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -883,6 +883,7 @@ void testInsertOverwrite() throws JSQLParserException {
883883
public void testOverridingSystemValueInsertsParse(String sqlStr) throws JSQLParserException {
884884
Insert insert = (Insert) assertSqlCanBeParsedAndDeparsed(sqlStr);
885885
assertEquals("mytable", insert.getTable().getName());
886+
assertEquals(true, insert.isOverriding());
886887
}
887888

888889
@ParameterizedTest
@@ -898,6 +899,7 @@ public void testOverridingSystemValueInsertsParseWithTableNamedOverriding(String
898899
throws JSQLParserException {
899900
Insert insert = (Insert) assertSqlCanBeParsedAndDeparsed(sqlStr);
900901
assertEquals("overriding", insert.getTable().getName());
902+
assertEquals(true, insert.isOverriding());
901903
}
902904

903905
}

0 commit comments

Comments
 (0)