mirror of
https://github.com/mgechev/revive.git
synced 2025-02-09 13:37:14 +02:00
13 lines
298 B
Go
13 lines
298 B
Go
|
package fixtures
|
||
|
|
||
|
import (
|
||
|
pkgErrors "github.com/pkg/errors"
|
||
|
)
|
||
|
|
||
|
// Check for the error strings themselves.
|
||
|
|
||
|
func errorsStrings(x int) error {
|
||
|
var err error
|
||
|
return pkgErrors.Wrap(err, "This %d is too low") // MATCH /error strings should not be capitalized or end with punctuation or a newline/
|
||
|
}
|