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

Skip to content

Commit 430f76f

Browse files
committed
Fixed minor bug in XUnit reporter (showing CDATA for errors even when no errors found)
1 parent f955d2a commit 430f76f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/reporters/ut_xunit_reporter.tpb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ create or replace type body ut_xunit_reporter is
9797
end if;
9898

9999
l_errors := l_suite.get_error_stack_traces();
100-
if l_data is not null and l_data != empty_clob() then
100+
if l_errors is not empty then
101101
self.print_text('<system-err>');
102102
self.print_text('<![CDATA[');
103103
self.print_clob(ut_utils.table_to_clob(l_errors));

0 commit comments

Comments
 (0)