1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-08-06 17:40:57 +00:00

fix linting

This commit is contained in:
Michael Jerger 2024-05-02 08:56:36 +02:00
parent ded7b60d0c
commit 42837f5dab
2 changed files with 8 additions and 9 deletions

View file

@ -16,9 +16,8 @@ type Sut struct {
func (sut Sut) Validate() []string {
if sut.valid {
return []string{}
} else {
return []string{"invalid"}
}
return []string{"invalid"}
}
func Test_IsValid(t *testing.T) {