Skip to content

Commit

Permalink
Added one simple insert SQL to test
Browse files Browse the repository at this point in the history
  • Loading branch information
wumpz committed Jan 11, 2014
1 parent f58ca06 commit 2db02ad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/test/java/net/sf/jsqlparser/test/insert/InsertTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,8 @@ public void testInsertMultiRowValueDifferent() throws JSQLParserException {

fail("should not work");
}

public void testSimpleInsert() throws JSQLParserException {
assertSqlCanBeParsedAndDeparsed("INSERT INTO example (num, name, address, tel) VALUES (1, 'name', 'test ', '1234-1234')");
}
}

0 comments on commit 2db02ad

Please sign in to comment.