Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit af2a66a

Browse files
committed
Moved away from dba_source to all_source.
1 parent 71c6c6a commit af2a66a

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
set termout off
2-
create or replace package tst$package_to_be_dropped as
2+
create or replace package tst_package_to_be_dropped as
33
--%suite
4-
4+
55
--%test
66
procedure test1;
77
end;
88
/
9-
create or replace package body tst$package_to_be_dropped as
9+
create or replace package body tst_package_to_be_dropped as
1010
procedure test1 is begin ut.expect(1).to_equal(1); end;
1111
procedure test2 is begin ut.expect(1).to_equal(1); end;
1212
end;
@@ -17,30 +17,30 @@ declare
1717
l_objects_to_run ut_suite_items;
1818
test_result number;
1919
begin
20-
ut.run(USER||'.tst$package_to_be_dropped');
20+
ut.run(USER||'.tst_package_to_be_dropped');
2121
end;
2222
/
23-
24-
drop package tst$package_to_be_dropped
23+
24+
drop package tst_package_to_be_dropped
2525
/
2626
begin
2727

2828
begin
29-
ut.run(user || '.tst$package_to_be_dropped');
29+
ut.run(user || '.tst_package_to_be_dropped');
3030
exception
3131
when others then
32-
if sqlerrm like '%tst$package_to_be_dropped%does not exist%' then
32+
if sqlerrm like '%tst_package_to_be_dropped%does not exist%' then
3333
:test_result := ut_utils.tr_success;
3434
end if;
3535
end;
3636

3737
if :test_result != ut_utils.tr_success or :test_result is null then
38-
dbms_output.put_line('Failed: Expected exception with text like ''%tst$package_to_be_dropped%does not exist%'' but got:''' ||
38+
dbms_output.put_line('Failed: Expected exception with text like ''%tst_package_to_be_dropped%does not exist%'' but got:''' ||
3939
sqlerrm || '''');
4040
end if;
4141
end;
4242
/
4343
set termout off
44-
drop package tst$package_to_be_dropped
44+
drop package tst_package_to_be_dropped
4545
/
4646
set termout on

0 commit comments

Comments
 (0)