Skip to content

Commit 1dea74e

Browse files
remove comment before create package
This makes it compatible with the new ut_trigger_annotation_parsing trigger, which currently does not expect to have leading comments. This is possible with low level interfaces such as JDBC only. Tools such as SQL*Plus, SQLcl, SQL Developer, etc. do not pass the comment to the SQL engine.
1 parent a8904a3 commit 1dea74e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

sqldev/src/test/java/org/utplsql/sqldev/test/parser/UtplsqlParserTest.xtend

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,6 @@ class UtplsqlParserTest extends AbstractJdbcTest {
101101
@Test
102102
def packageWithConnection() {
103103
val plsql = '''
104-
/*
105-
* some comment
106-
*/
107104
CREATE OR REPLACE PACKAGE pkg IS
108105
-- %suite
109106
-- %rollback(manual)
@@ -211,6 +208,4 @@ class UtplsqlParserTest extends AbstractJdbcTest {
211208
val parser = new UtplsqlParser(plsql)
212209
Assert.assertEquals(null, parser.getObjectAt(0))
213210
}
214-
215-
216211
}

0 commit comments

Comments
 (0)