Skip to content

Commit 2db02ad

Browse files
committed
Added one simple insert SQL to test
1 parent f58ca06 commit 2db02ad

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,8 @@ public void testInsertMultiRowValueDifferent() throws JSQLParserException {
9393

9494
fail("should not work");
9595
}
96+
97+
public void testSimpleInsert() throws JSQLParserException {
98+
assertSqlCanBeParsedAndDeparsed("INSERT INTO example (num, name, address, tel) VALUES (1, 'name', 'test ', '1234-1234')");
99+
}
96100
}

0 commit comments

Comments
 (0)