diff --git a/middleware/requestlog/requestlog_test.go b/middleware/requestlog/requestlog_test.go index 6afdbac..18e36d3 100644 --- a/middleware/requestlog/requestlog_test.go +++ b/middleware/requestlog/requestlog_test.go @@ -80,6 +80,6 @@ func TestRequestLog(t *testing.T) { checkEntries("/post", false, http.StatusOK) checkEntries("/forbidden", false, http.StatusForbidden) checkEntries("/slow", false, http.StatusOK) - checkEntries("/forgetful", false, http.StatusInternalServerError) - checkEntries("/buggy", true, http.StatusInternalServerError) + checkEntries("/forgetful", false, http.StatusOK) + checkEntries("/buggy", true, 0) }