Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
handle some block comment to detect generated files (#1161)
- Loading branch information
Showing
5 changed files
with
45 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,5 @@ | |
|
||
// third line | ||
|
||
package testdata // no this text | ||
package testdata // this text also | ||
// and this text also |
16 changes: 16 additions & 0 deletions
16
pkg/result/processors/testdata/autogen_exclude_block_comment.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
* first line | ||
* | ||
* second line | ||
* third line | ||
*/ | ||
|
||
// and this text also | ||
|
||
/* | ||
this type of block comment also | ||
*/ | ||
|
||
/* this one line comment also */ | ||
|
||
package testdata |
Large diffs are not rendered by default.
Oops, something went wrong.