replace handleWithGlobalMiddlewares with handlerWithGlobalMiddlewares

Signed-off-by: mgniu <mgniu@dataman-inc.com>
Upstream-commit: e743ab088289756979e2971b41cf1de9bf320643
Component: engine
This commit is contained in:
mgniu
2016-08-12 10:50:22 +08:00
parent 64cc925c02
commit c3fa308195
3 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ func TestMiddlewares(t *testing.T) {
return nil
}
handlerFunc := srv.handleWithGlobalMiddlewares(localHandler)
handlerFunc := srv.handlerWithGlobalMiddlewares(localHandler)
if err := handlerFunc(ctx, resp, req, map[string]string{}); err != nil {
t.Fatal(err)
}