Skip to content

Commit d6bbc3f

Browse files
committed
1 parent 1ee7c41 commit d6bbc3f

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/test/java/net/sf/jsqlparser/parser/CCJSqlParserUtilTest.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,6 @@ public void setUp() {
5151
public void tearDown() {
5252
}
5353

54-
/**
55-
* Test of parseExpression method, of class CCJSqlParserUtil.
56-
*/
5754
@Test
5855
public void testParseExpression() throws Exception {
5956
Expression result = CCJSqlParserUtil.parseExpression("a+b");
@@ -213,4 +210,10 @@ public void testParseStatementIssue742() throws Exception {
213210
+ "bigint (20) NOT NULL COMMENT 'column id as sent by SYSTEM', PRIMARY KEY (`id`), UNIQUE KEY `uk_another_column_id` "
214211
+ "(`another_column_id`));\n", result.toString());
215212
}
213+
214+
@Test
215+
public void testParseExpressionIssue982() throws Exception {
216+
Expression result = CCJSqlParserUtil.parseExpression("tab.col");
217+
assertEquals("tab.col", result.toString());
218+
}
216219
}

0 commit comments

Comments
 (0)