summaryrefslogtreecommitdiffstats
path: root/app/import_test.go
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2017-02-09 13:39:15 -0800
committerGeorge Goldberg <george@gberg.me>2017-02-09 21:39:15 +0000
commit1359f7f3918befd2463103379d17bd2eb846654d (patch)
treef8fe7cbfd7b8a59da7a655f7ac7bbc9233a70258 /app/import_test.go
parent432dc9239fdd27063adcee944675d066fb35cde6 (diff)
downloadchat-1359f7f3918befd2463103379d17bd2eb846654d.tar.gz
chat-1359f7f3918befd2463103379d17bd2eb846654d.tar.bz2
chat-1359f7f3918befd2463103379d17bd2eb846654d.zip
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
Diffstat (limited to 'app/import_test.go')
-rw-r--r--app/import_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/import_test.go b/app/import_test.go
index b57fb0217..e163ddc45 100644
--- a/app/import_test.go
+++ b/app/import_test.go
@@ -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.")