1
0
mirror of https://github.com/mgechev/revive.git synced 2024-11-24 08:32:22 +02:00
revive/testdata/banned_characters.go
2024-11-11 19:31:18 +01:00

10 lines
292 B
Go

package fixtures
const Ω = "Omega" // MATCH:3 /banned character found: Ω/
// func contains banned characters Ω // authorized banned chars in comment
func funcΣ() error { // MATCH:6 /banned character found: Σ/
var charσhid string // MATCH:7 /banned character found: σ/
return nil
}