Skip to content

Commit 2fbc2e0

Browse files
fix missing new line in annotations and handle case sensitive results of new annotation API
1 parent 74b5a6e commit 2fbc2e0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ class UtplsqlParserTest extends AbstractJdbcTest {
3535
CREATE OR REPLACE PACKAGE pkg IS
3636
-- %suite
3737
-- %rollback(manual)
38+
3839
-- %test
3940
PROCEDURE p (in_p1 INTEGER);
4041
FUNCTION f (in_p1 INTEGER) RETURN INTEGER;
@@ -90,7 +91,7 @@ class UtplsqlParserTest extends AbstractJdbcTest {
9091
Assert.assertEquals("pkg", parser.getPathAt(parser.toPosition(4,1)))
9192
Assert.assertEquals("pkg.p", parser.getPathAt(parser.toPosition(10,33)))
9293
Assert.assertEquals("pkg.p", parser.getPathAt(parser.toPosition(13,1)))
93-
Assert.assertEquals("SCOTT.PKG.P", parser.getPathAt(parser.toPosition(19,1)))
94+
Assert.assertEquals("SCOTT.PKG.p", parser.getPathAt(parser.toPosition(19,1)))
9495
Assert.assertEquals("SCOTT.PKG.P", parser.getPathAt(parser.toPosition(22,9)))
9596
Assert.assertEquals("SCOTT.PKG.P", parser.getPathAt(parser.toPosition(22,10)))
9697
Assert.assertEquals("SCOTT.PKG.P", parser.getPathAt(parser.toPosition(29,1)))
@@ -125,7 +126,7 @@ class UtplsqlParserTest extends AbstractJdbcTest {
125126
Assert.assertEquals(2, parser.getObjects.size)
126127
Assert.assertEquals(2, parser.getUnits.size)
127128
Assert.assertEquals("pkg.p", parser.getPathAt(parser.toPosition(13,1)))
128-
Assert.assertEquals("SCOTT.PKG.P", parser.getPathAt(parser.toPosition(19,1)))
129+
Assert.assertEquals("SCOTT.PKG.p", parser.getPathAt(parser.toPosition(19,1)))
129130
setupAndTeardown
130131
}
131132

0 commit comments

Comments
 (0)