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

Skip to content

Commit 0905941

Browse files
committed
Now, number failures is explicitly displayed, even if it's ZERO.
So reporter will show summary: 123 tests, 0 failures
1 parent 463f64b commit 0905941

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

source/reporters/ut_documentation_reporter.tpb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@ create or replace type body ut_documentation_reporter is
140140
self.print_text(
141141
test_count || ' tests' ||
142142
case
143-
when failed_test_count > 1 then ', '||failed_test_count||' failures'
144-
when failed_test_count > 0 then ', '||failed_test_count||' failure'
143+
when failed_test_count = 1 then ', '||failed_test_count||' failure'
144+
else ', '||failed_test_count||' failures'
145145
end ||
146146
case
147147
when igonred_test_count > 0 then ', '||igonred_test_count||' ignored'

0 commit comments

Comments
 (0)