Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(262)

Unified Diff: go/gitinfo/gitinfo_test.go

Issue 777413002: Add new tests to presubmit, fix errors (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: rebase Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « go/gitinfo/gitinfo.go ('k') | go/login/login.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: go/gitinfo/gitinfo_test.go
diff --git a/go/gitinfo/gitinfo_test.go b/go/gitinfo/gitinfo_test.go
index 4a45b597ac7159d3eb923519e900a1f01b270570..2cf8d1a01c7b6063ee746e4a5c9b1802c7dc1bf4 100644
--- a/go/gitinfo/gitinfo_test.go
+++ b/go/gitinfo/gitinfo_test.go
@@ -81,7 +81,7 @@ func TestFrom(t *testing.T) {
for _, tc := range testCases {
hashes := r.From(time.Unix(tc.ts, 0))
if got, want := len(hashes), tc.length; got != want {
- t.Errorf("For ts: %d Length returned is wrong: Got %s Want %d", tc.ts, got, want)
+ t.Errorf("For ts: %d Length returned is wrong: Got %d Want %d", tc.ts, got, want)
}
}
}
« no previous file with comments | « go/gitinfo/gitinfo.go ('k') | go/login/login.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698