mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 14:50:56 +00:00
go vet: t.Errorf -> t.Error
This commit is contained in:
parent
a598cd2b18
commit
17fd09102e
@ -78,7 +78,7 @@ func TestRelease(t *testing.T) {
|
||||
for old, target := range upgrades {
|
||||
upgrade, err := LatestRelease(old, rels)
|
||||
if err != nil {
|
||||
t.Errorf("error retrieving latest version", err)
|
||||
t.Error("Error retrieving latest version", err)
|
||||
}
|
||||
if upgrade.Tag != target {
|
||||
t.Errorf("Invalid upgrade release: %v -> %v, but got %v", old, target, upgrade.Tag)
|
||||
|
Loading…
Reference in New Issue
Block a user