Adding go vet from hack-a-thon (#5328)
* Adding go vet to the api package * Adding go vet to app package * Adding go vet to manualtesting package * Adding go vet to the model package * Adding go vet to the store dir * Adding go vet to utils package * Adding missing dirs with go files * Fixing up makefile * Fixing up makefile * Removing root dir
Этот коммит содержится в:
коммит произвёл
George Goldberg
родитель
432dc9239f
Коммит
1359f7f391
@@ -513,7 +513,7 @@ func TestImportImportTeam(t *testing.T) {
|
||||
// Check that one more team is in the DB.
|
||||
if r := <-Srv.Store.Team().AnalyticsTeamCount(); r.Err == nil {
|
||||
if r.Data.(int64)-1 != teamsCount {
|
||||
t.Fatalf("Team did not get saved in apply run mode.", r.Data.(int64), teamsCount)
|
||||
t.Fatalf("Team did not get saved in apply run mode. analytics=%v teamcount=%v", r.Data.(int64), teamsCount)
|
||||
}
|
||||
} else {
|
||||
t.Fatalf("Failed to get team count.")
|
||||
@@ -542,7 +542,7 @@ func TestImportImportTeam(t *testing.T) {
|
||||
|
||||
if r := <-Srv.Store.Team().AnalyticsTeamCount(); r.Err == nil {
|
||||
if r.Data.(int64)-1 != teamsCount {
|
||||
t.Fatalf("Team alterations did not get saved in apply run mode.", r.Data.(int64), teamsCount)
|
||||
t.Fatalf("Team alterations did not get saved in apply run mode. analytics=%v teamcount=%v", r.Data.(int64), teamsCount)
|
||||
}
|
||||
} else {
|
||||
t.Fatalf("Failed to get team count.")
|
||||
|
||||
Ссылка в новой задаче
Block a user