-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Denis Krivak
committed
Aug 19, 2023
1 parent
e366a23
commit a43fe64
Showing
2 changed files
with
8 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -240,6 +240,9 @@ func isSpecialBlock(comment string) bool { | |
strings.Contains(comment, "#define")) { | ||
return true | ||
} | ||
if strings.HasPrefix(comment, "// Output: ") { | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
tetafro
Owner
|
||
return true | ||
} | ||
return false | ||
} | ||
|
||
|
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
Hm, should this be based on the function name and file name (so starts with
Example
in_test.go
file)? I think that would be much better.