Skip to content

Commit 55974c3

Browse files
committed
1 parent 22c6eb0 commit 55974c3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/test/java/net/sf/jsqlparser/statement/alter/AlterTest.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ public void testAddConstraintKeyIssue320() throws JSQLParserException {
360360
}
361361

362362
@Test
363-
public void testIssue633() throws JSQLParserException {
363+
public void testIssue633() throws JSQLParserException, JSQLParserException, JSQLParserException {
364364
assertSqlCanBeParsedAndDeparsed("ALTER TABLE team_phases ADD CONSTRAINT team_phases_id_key UNIQUE (id)");
365365
}
366366

@@ -383,4 +383,9 @@ public void testAlterTableIndex586() throws Exception {
383383
public void testIssue259() throws JSQLParserException {
384384
assertSqlCanBeParsedAndDeparsed("ALTER TABLE feature_v2 ADD COLUMN third_user_id int (10) unsigned DEFAULT '0' COMMENT '第三方用户id' after kdt_id");
385385
}
386+
387+
@Test
388+
public void testIssue633_2() throws JSQLParserException {
389+
assertSqlCanBeParsedAndDeparsed("CREATE INDEX idx_american_football_action_plays_1 ON american_football_action_plays USING btree (play_type)");
390+
}
386391
}

0 commit comments

Comments
 (0)