1
0
mirror of https://github.com/mgechev/revive.git synced 2024-11-28 08:49:11 +02:00
revive/testdata/string_format_issue_1063.go

10 lines
157 B
Go
Raw Normal View History

package fixtures
import (
"errors"
)
func ReturnError() error {
return errors.New("This is an error.") // MATCH /must not start with a capital letter/
}