Some cosmetic changes

This commit is contained in:
Manu Mtz-Almeida
2015-03-23 04:41:29 +01:00
parent c8ee142717
commit 615c62d736
4 changed files with 12 additions and 18 deletions
+1 -1
View File
@@ -192,7 +192,7 @@ func TestHandleHeadToDir(t *testing.T) {
// TEST
bodyAsString := w.Body.String()
if w.Code != 200 {
t.Errorf("Response code should be Ok, was: %s", w.Code)
t.Errorf("Response code should be Ok, was: %d", w.Code)
}
if len(bodyAsString) == 0 {
t.Errorf("Got empty body instead of file tree")