Merge pull request #6252 from krousey/string_format_cleanup

Fixing a lot of string formatting issues
This commit is contained in:
Victor Marmol
2015-03-31 16:57:36 -07:00
26 changed files with 66 additions and 66 deletions

View File

@@ -644,11 +644,11 @@ func TestRequestUpgrade(t *testing.T) {
}
if testCase.AuthBasicHeader && !strings.Contains(rt.req.Header.Get("Authorization"), "Basic") {
t.Errorf("%d: expected basic auth header, got: %s", rt.req.Header.Get("Authorization"))
t.Errorf("%d: expected basic auth header, got: %s", i, rt.req.Header.Get("Authorization"))
}
if testCase.AuthBearerHeader && !strings.Contains(rt.req.Header.Get("Authorization"), "Bearer") {
t.Errorf("%d: expected bearer auth header, got: %s", rt.req.Header.Get("Authorization"))
t.Errorf("%d: expected bearer auth header, got: %s", i, rt.req.Header.Get("Authorization"))
}
if e, a := expectedConn, conn; e != a {