1
0
mirror of https://github.com/mgechev/revive.git synced 2024-11-24 08:32:22 +02:00
revive/testdata/comments-density-1.go
2024-04-20 10:20:56 +02: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
}