diff --git a/pmd-plsql/src/test/java/net/sourceforge/pmd/lang/plsql/ast/TableCollectionExpression.java b/pmd-plsql/src/test/java/net/sourceforge/pmd/lang/plsql/ast/TableCollectionExpressionTest.java similarity index 92% rename from pmd-plsql/src/test/java/net/sourceforge/pmd/lang/plsql/ast/TableCollectionExpression.java rename to pmd-plsql/src/test/java/net/sourceforge/pmd/lang/plsql/ast/TableCollectionExpressionTest.java index e5ddb26302..1daad5882a 100644 --- a/pmd-plsql/src/test/java/net/sourceforge/pmd/lang/plsql/ast/TableCollectionExpression.java +++ b/pmd-plsql/src/test/java/net/sourceforge/pmd/lang/plsql/ast/TableCollectionExpressionTest.java @@ -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 { diff --git a/pmd-plsql/src/test/resources/net/sourceforge/pmd/lang/plsql/ast/WhereClauseSubqueries.pls b/pmd-plsql/src/test/resources/net/sourceforge/pmd/lang/plsql/ast/WhereClauseSubqueries.pls index 6c67d24e65..a6c25d36d5 100644 --- a/pmd-plsql/src/test/resources/net/sourceforge/pmd/lang/plsql/ast/WhereClauseSubqueries.pls +++ b/pmd-plsql/src/test/resources/net/sourceforge/pmd/lang/plsql/ast/WhereClauseSubqueries.pls @@ -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;