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

Skip to content

Commit 91f70ee

Browse files
committed
Fixed coverage reporting for labelled end loop block.
1 parent fbfc345 commit 91f70ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/core/coverage/ut_coverage.pkb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ create or replace package body ut_coverage is
6767
) and
6868
regexp_like(
6969
s.text,
70-
'^\s*(((not)?\s*(overriding|final|instantiable)\s*)*(static|constructor|member)?\s*(procedure|function)|package(\s+body)|begin|end(\s+\S+)?\s*;)', 'i'
70+
'^([\t ]*(((not)?\s*(overriding|final|instantiable)[\t ]*)*(static|constructor|member)?[\t ]*(procedure|function)|package([\t ]+body)|begin|end([\t ]+\S+)*[ \t]*;))', 'i'
7171
)
7272
then 'Y'
7373
end as to_be_skipped

0 commit comments

Comments
 (0)