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

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update tests
  • Loading branch information
lwasylow committed Apr 8, 2019
commit b399115f248252baad62c63c47a92072c176d2fd
8 changes: 4 additions & 4 deletions test/ut3_user/expectations/test_expectations_cursor.pkb
Original file line number Diff line number Diff line change
Expand Up @@ -2549,14 +2549,14 @@ Diff:%
l_exp_message varchar2(32000);
begin
l_exp_message :='ORA-20218: SQL exception thrown when fetching data from cursor:
ORA-01722: invalid number
ORA-01476: divisor is equal to zero
at "UT3$USER#.TEST_EXPECTATIONS_CURSOR%", line 2561 ut3.ut.expect(l_actual).to_equal(l_expected);
Check the query and data for errors.';

open l_actual for
select cast(null as number(10)) as usd_price_amt from dual where dummy = 1;
select 1 as test from dual;
open l_expected for
select 1357 as usd_price_amt from dual;
select 1/0 as test from dual;

ut3.ut.expect(l_actual).to_equal(l_expected);
--Line that error relates to in expected messag
Expand All @@ -2575,7 +2575,7 @@ Check the query and data for errors.';

l_exp_message :='ORA-20218: SQL exception thrown when fetching data from cursor:
ORA-01476: divisor is equal to zero
at "UT3$USER#.TEST_EXPECTATIONS_CURSOR%", line 2589 ut3.ut.expect(l_actual).to_equal(l_expected);
at "UT3$USER#.TEST_EXPECTATIONS_CURSOR%", line 2586 ut3.ut.expect(l_actual).to_equal(l_expected);
Check the query and data for errors.';

open l_expected for
Expand Down