Cosmetic changes

This commit is contained in:
Manu Mtz-Almeida
2015-03-23 06:03:12 +01:00
parent 3e3ced70d4
commit 48fec0650d
7 changed files with 34 additions and 20 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ func TestBasicAuth401WithCustomRealm(t *testing.T) {
r.ServeHTTP(w, req)
if w.Code != 401 {
t.Errorf("Response code should be Not autorized, was: %s", w.Code)
t.Errorf("Response code should be Not autorized, was: %d", w.Code)
}
if w.HeaderMap.Get("WWW-Authenticate") != "Basic realm=\"My Custom Realm\"" {