Skip to content

Commit 81d4194

Browse files
committed
Fixes to annotation parsing.
Resolves utPLSQL#1088 Changed tests to reproduce issue with `dbms_preprocessor` failing to parse source that start with: `package owner.name authid definer is ...`
1 parent 507c176 commit 81d4194

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/ut3_tester_helper/annotation_cache_helper.pkb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ create or replace package body annotation_cache_helper as
44
pragma autonomous_transaction;
55
begin
66
execute immediate
7-
'create or replace package ut3_cache_test_owner.granted_test_suite is
7+
'create or replace package ut3_cache_test_owner.granted_test_suite authid definer is
88
--%suite
99

1010
--%test
@@ -19,7 +19,7 @@ create or replace package body annotation_cache_helper as
1919
procedure test2 is begin ut3_develop.ut.expect( 1 ).to_equal( 1 ); end;
2020
end;';
2121
execute immediate
22-
'create or replace package ut3_cache_test_owner.not_granted_test_suite is
22+
'create or replace package ut3_cache_test_owner.not_granted_test_suite authid definer is
2323
--%suite
2424

2525
--%test
@@ -54,7 +54,7 @@ create or replace package body annotation_cache_helper as
5454
pragma autonomous_transaction;
5555
begin
5656
execute immediate
57-
'create or replace package ut3_cache_test_owner.new_suite is
57+
'create or replace package ut3_cache_test_owner.new_suite authid definer is
5858
--%suite
5959

6060
--%test

0 commit comments

Comments
 (0)