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

Skip to content

Commit 45d6e7a

Browse files
committed
Call stack differs based on version
1 parent 05efc5e commit 45d6e7a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

test/ut3_user/expectations/test_expectations_cursor.pkb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2530,7 +2530,7 @@ Diff:%
25302530
begin
25312531
l_exp_message :='ORA-20218: SQL exception thrown when fetching data from cursor:
25322532
ORA-01722: invalid number
2533-
at "UT3$USER#.TEST_EXPECTATIONS_CURSOR.XML_ERROR_ACTUAL", line 2542 ut3.ut.expect(l_actual).to_equal(l_expected);
2533+
at "UT3$USER#.TEST_EXPECTATIONS_CURSOR%", line 2542 ut3.ut.expect(l_actual).to_equal(l_expected);
25342534
Check the query and data for errors.';
25352535

25362536
open l_actual for
@@ -2539,7 +2539,7 @@ Check the query and data for errors.';
25392539
open l_expected for
25402540
select c_price as usd_price_amt, c_user as update_id from dual;
25412541

2542-
ut3.ut.expect(l_actual).to_equal(l_expected);
2542+
ut3.ut.expect(l_actual).to_be_like(l_expected);
25432543
--Line that error relates to in expected messag
25442544

25452545
ut.fail('Expected exception on cursor fetch');
@@ -2556,15 +2556,15 @@ Check the query and data for errors.';
25562556

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

25622562
open l_expected for
25632563
select 1/0 as test from dual;
25642564
open l_actual for
25652565
select 1 as test from dual;
25662566

2567-
ut3.ut.expect(l_actual).to_equal(l_expected);
2567+
ut3.ut.expect(l_actual).to_be_like(l_expected);
25682568

25692569
ut.fail('Expected exception on cursor fetch');
25702570
exception

0 commit comments

Comments
 (0)