forked from phoedos/pmd
[plsql] Fix test cases
* table is a reserved word and cannot be used as an identifier * correctly name test class for TableCollectionExpressionTest
This commit is contained in:
@ -12,7 +12,7 @@ import org.junit.Test;
|
||||
|
||||
import net.sourceforge.pmd.lang.plsql.AbstractPLSQLParserTst;
|
||||
|
||||
public class TableCollectionExpression extends AbstractPLSQLParserTst {
|
||||
public class TableCollectionExpressionTest extends AbstractPLSQLParserTst {
|
||||
|
||||
@Test
|
||||
public void testExamples() throws Exception {
|
@ -4,10 +4,10 @@
|
||||
|
||||
BEGIN
|
||||
|
||||
SELECT id INTO v_id FROM table
|
||||
SELECT id INTO v_id FROM my_table
|
||||
WHERE id = (SELECT id FROM other_table);
|
||||
|
||||
UPDATE table SET name = 'a'
|
||||
UPDATE my_table SET name = 'a'
|
||||
WHERE id = (SELECT id FROM other_table);
|
||||
|
||||
END;
|
||||
|
Reference in New Issue
Block a user