Skip to content

Commit

Permalink
Coverage for std.collect
Browse files Browse the repository at this point in the history
  • Loading branch information
dridi committed Mar 30, 2017
1 parent ad9623d commit bfcbb6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/varnishtest/tests/m00006.vtc
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ varnish v1 -vcl+backend {
std.collect(beresp.http.bar);
}
sub vcl_deliver {
std.collect(resp.http.qux);
std.collect(resp.http.qux, "; ");
}
} -start

client c1 {
txreq -hdr "Foo: 1" -hdr "Foo: 2" -hdr "Baz: 3" -hdr "Baz: 4"
rxresp
expect resp.http.bar == "a, b"
expect resp.http.qux == "c, d"
expect resp.http.qux == "c; d"
} -run

0 comments on commit bfcbb6b

Please sign in to comment.