fix test
This commit is contained in:
parent
e82f1cf309
commit
42dd6b643b
1 changed files with 5 additions and 1 deletions
|
@ -345,7 +345,11 @@ func TestCustomResponseHeaders(t *testing.T) {
|
|||
|
||||
for _, foo := range fooAnns {
|
||||
ing.SetAnnotations(foo.annotations)
|
||||
r := ec.Extract(ing).CustomHeaders.Headers
|
||||
rann, err := ec.Extract(ing)
|
||||
if err != nil {
|
||||
t.Errorf("error should be null: %v", err)
|
||||
}
|
||||
r := rann.CustomHeaders.Headers
|
||||
|
||||
// Check that expected headers were created
|
||||
for i := range foo.headers {
|
||||
|
|
Loading…
Reference in a new issue