Skip to content

Commit 0ba4e8c

Browse files
authored
Merge pull request #9 from utPLSQL/feature/fix_for_running_v2_inside_v3_test
Update ut3.utassert2.pkb to allow running of utPLSQL v2 test suite inside of utPLSQL v3.
2 parents 9c26fab + 1d2ba8b commit 0ba4e8c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

source/migration/ut3.utassert2.pkb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,9 @@ CREATE OR REPLACE PACKAGE BODY utassert2 IS
9494
g_previous_pass := NOT l_failure;
9595

9696
/* END chrisrimmer 42694 */
97-
IF INSTR( DBMS_UTILITY.FORMAT_CALL_STACK(), 'UT_RUNNER') > 0 THEN
97+
IF INSTR( DBMS_UTILITY.FORMAT_CALL_STACK(), 'UT_RUNNER') > 0
98+
AND INSTR( DBMS_UTILITY.FORMAT_CALL_STACK(), 'UTPLSQL') = 0
99+
THEN
98100
ut.expect(l_failure,a_message => msg_in).to_be_false;
99101
ELSE
100102
IF utplsql2.tracing THEN

0 commit comments

Comments
 (0)