1
0
mirror of https://github.com/mgechev/revive.git synced 2024-11-28 08:49:11 +02:00
revive/testdata/banned-characters.go
2021-10-14 20:56:29 +02: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
}