1
0
mirror of https://github.com/mgechev/revive.git synced 2024-12-14 10:52:54 +02:00
revive/testdata/comments_density_1.go

10 lines
293 B
Go
Raw Normal View History

2024-04-20 10:20:56 +02:00
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
}