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

Skip to content

Commit cf28f21

Browse files
committed
changed timing reporting to use square brackets
1 parent f2764ea commit cf28f21

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

source/reporters/ut_documentation_reporter.tpb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ create or replace type body ut_documentation_reporter is
5050
l_message varchar2(4000);
5151

5252
begin
53-
l_message := coalesce(a_test.description, a_test.name)||' ('||round(a_test.execution_time,3)||' sec)';
53+
l_message := coalesce(a_test.description, a_test.name)||' ['||round(a_test.execution_time,3)||' sec]';
5454
--if test failed, then add it to the failures list, print failure with number
5555
if a_test.result = ut_utils.tr_disabled then
5656
self.print_yellow_text(l_message || ' (IGNORED)');

tests/ut_reporters/ut_documentation_reporter.reportTestTiming.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ declare
2525
l_expected varchar2(32767);
2626
begin
2727
l_expected := q'[tst_doc_reporter_timing
28-
%test1 (%sec)
29-
%test2 (%sec) (FAILED - 1)
28+
%test1 [%sec]
29+
%test2 [%sec] (FAILED - 1)
3030
%Failures:%
3131
Finished in % seconds
3232
2 tests, 1 failed, 0 errored, 0 disabled, 0 warning(s)]';

0 commit comments

Comments
 (0)