1
0
mirror of https://github.com/mgechev/revive.git synced 2024-11-21 17:16:40 +02:00
revive/testdata/comments_density_1.go
2024-11-11 19:31:18 +01:00

10 lines
293 B
Go

package fixtures // MATCH /the file has a comment density of 57% (4 comment lines for 3 code lines) but expected a minimum of 60%/
// func contains banned characters Ω // authorized banned chars in comment
func cd1() error {
// the var
var charσhid string
/* the return */
return nil
}