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

Skip to content

Commit 0303361

Browse files
authored
Merge pull request #191 from Pazus/bug#190
fix documentation_reporter generating empty lines
2 parents dcbc01b + c7de930 commit 0303361

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

source/reporters/ut_documentation_reporter.tpb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ create or replace type body ut_documentation_reporter is
6969
self.print_text(lpad(a_failure_no, length(failed_test_running_count)+2,' ')||') '||nvl( a_test.name, a_test.item.form_name ));
7070
self.lvl := self.lvl + 3;
7171
for j in 1 .. a_test.results.count loop
72-
print_failure_for_assert(a_test.results(j));
72+
if a_test.results(j).result > ut_utils.tr_success then
73+
print_failure_for_assert(a_test.results(j));
74+
end if;
7375
end loop;
7476
lvl := lvl - 3;
7577
end if;

0 commit comments

Comments
 (0)