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

Skip to content

Commit a9e2fbe

Browse files
committed
remove replace
1 parent 4bdca7d commit a9e2fbe

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

source/reporters/ut_junit_reporter.tpb

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,7 @@ create or replace type body ut_junit_reporter is
4848
if a_test.result = ut_utils.gc_error then
4949
self.print_text('<error>');
5050
self.print_text(c_cddata_tag_start);
51-
self.print_clob(
52-
replace(replace(ut_utils.table_to_clob(a_test.get_error_stack_traces()),c_cddata_tag_start,''),c_cddata_tag_end,'')
53-
);
51+
self.print_clob(ut_utils.table_to_clob(a_test.get_error_stack_traces()));
5452
self.print_text(c_cddata_tag_end);
5553
self.print_text('</error>');
5654
elsif a_test.result > ut_utils.gc_success then
@@ -61,9 +59,7 @@ create or replace type body ut_junit_reporter is
6159
l_lines := a_test.failed_expectations(i).get_result_lines();
6260

6361
for j in 1 .. l_lines.count loop
64-
self.print_text(
65-
replace(replace(l_lines(j),c_cddata_tag_start,''),c_cddata_tag_end,'')
66-
);
62+
self.print_text(l_lines(j));
6763
end loop;
6864
self.print_text(a_test.failed_expectations(i).caller_info);
6965
end loop;

0 commit comments

Comments
 (0)