New error handling added to module resource in package data. Minor coding improvements.
This commit is contained in:
@@ -78,6 +78,6 @@ func TestConfigRouterReturnsRouterThat400sOnUnconfiguredResources(t *testing.T)
|
||||
m.ServeHTTP(w, httptest.NewRequest("GET", "/handlers/FOO/dummy", nil))
|
||||
|
||||
for _, e := range checkErrorResponse(w.Result(), http.StatusBadRequest, "Invalid Resource Path") {
|
||||
t.Error(e.Error())
|
||||
t.Error(e)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user