Skip to content

Commit

Permalink
Start every Headers field empty but non-null
Browse files Browse the repository at this point in the history
  • Loading branch information
javierguerragiraldez committed Jun 30, 2021
1 parent eee848e commit dc1ec9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,8 @@ func New(t *testing.T, req Request) (env *TestEnv, err error) {
state: running,
ClientReq: req,
ServiceReq: req.clone(),
ServiceRes: Response{},
ClientRes: Response{},
ServiceRes: Response{Headers: make(http.Header)},
ClientRes: Response{Headers: make(http.Header)},
}

b := bridge.New(bridgetest.MockFunc(env)) // check
Expand Down

0 comments on commit dc1ec9b

Please sign in to comment.