2022-07-15 15:32:10 +02:00
|
|
|
|
//golangcitest:args -Easciicheck
|
2020-04-16 23:19:12 +03:00
|
|
|
|
package testdata
|
|
|
|
|
|
2021-03-21 23:06:40 +01:00
|
|
|
|
import (
|
|
|
|
|
"fmt"
|
|
|
|
|
"time"
|
|
|
|
|
)
|
2021-02-14 19:11:38 +01:00
|
|
|
|
|
2022-08-20 18:53:45 +02:00
|
|
|
|
type AsciicheckTеstStruct struct { // want `identifier "AsciicheckTеstStruct" contain non-ASCII character: U\+0435 'е'`
|
2021-02-14 19:11:38 +01:00
|
|
|
|
Date time.Time
|
|
|
|
|
}
|
2021-03-21 23:06:40 +01:00
|
|
|
|
|
|
|
|
|
type AsciicheckField struct{}
|
|
|
|
|
|
|
|
|
|
type AsciicheckJustStruct struct {
|
2022-08-20 18:53:45 +02:00
|
|
|
|
Tеst AsciicheckField // want `identifier "Tеst" contain non-ASCII character: U\+0435 'е'`
|
2021-03-21 23:06:40 +01:00
|
|
|
|
}
|
|
|
|
|
|
2022-08-20 18:53:45 +02:00
|
|
|
|
func AsciicheckTеstFunc() { // want `identifier "AsciicheckTеstFunc" contain non-ASCII character: U\+0435 'е'`
|
|
|
|
|
var tеstVar int // want `identifier "tеstVar" contain non-ASCII character: U\+0435 'е'`
|
2021-03-21 23:06:40 +01:00
|
|
|
|
tеstVar = 0
|
|
|
|
|
fmt.Println(tеstVar)
|
|
|
|
|
}
|