Preserve line breaks from continued line comments
The commit "Preserve line breaks in comments before test functions" only handled block comments. This commit handles line comments. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
d8c0803821
commit
18f7028a0e
2 changed files with 8 additions and 1 deletions
|
@ -767,6 +767,8 @@ exit:
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
void test_func()
|
||||
{
|
||||
ba ba black sheep
|
||||
|
@ -813,6 +815,7 @@ exit:
|
|||
expected = '''#line 1 "test_suite_ut.function"
|
||||
|
||||
void test_func( int x,
|
||||
|
||||
int y )
|
||||
{
|
||||
ba ba black sheep
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue