1
0
mirror of https://github.com/mgechev/revive.git synced 2025-02-19 19:10:11 +02:00
revive/testdata/banned-characters.go

10 lines
292 B
Go
Raw Normal View History

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
}