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

Skip to content

Commit 8617613

Browse files
committed
Updated test for comments removal to include multi-line comments with multibyte text in it.
1 parent 71d0b70 commit 8617613

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

test/core/test_ut_utils.pkb

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -373,10 +373,12 @@ create or replace package dummy as
373373
gv_text2 varchar2(200) := '/* multi-line comment
374374
in a multi-line
375375
string*/';
376-
-- ignored start of multi-line comment /*
377-
-- ignored end of multi-line comment */
378-
/* proper
379-
multi-line comment */
376+
-- ignored start of multi-line comment with multi-byte text � /*
377+
-- ignored end of multi-line comment with multi-byte text � */
378+
/* multi-line comment
379+
with
380+
multi-byte characters ���
381+
in it */
380382
gv_text3 varchar2(200) := 'some text'; /* multiline comment*/ --followed by single-line comment
381383
/* multi-line comment in one line*/
382384
gv_text4 varchar2(200) := q'{/* multi-line comment
@@ -395,10 +397,12 @@ create or replace package dummy as
395397
gv_text2 varchar2(200) := '/* multi-line comment
396398
in a multi-line
397399
string*/';
398-
-- ignored start of multi-line comment /*
399-
-- ignored end of multi-line comment */
400+
-- ignored start of multi-line comment with multi-byte text � /*
401+
-- ignored end of multi-line comment with multi-byte text � */
400402
]'||q'[
401403

404+
405+
402406
gv_text3 varchar2(200) := 'some text'; --followed by single-line comment
403407
]'||q'[
404408
gv_text4 varchar2(200) := q'{/* multi-line comment

0 commit comments

Comments
 (0)