[master] 99efebb Coverage for std.collect
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Fri Mar 31 14:25:08 CEST 2017
commit 99efebb3c986aebf313c1f2ad43dddbfa4c07159
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date: Thu Mar 30 16:32:26 2017 +0200
Coverage for std.collect
Refs #2291
Refs #2292
diff --git a/bin/varnishtest/tests/m00006.vtc b/bin/varnishtest/tests/m00006.vtc
index 2afad24..24ad5f9 100644
--- a/bin/varnishtest/tests/m00006.vtc
+++ b/bin/varnishtest/tests/m00006.vtc
@@ -20,7 +20,7 @@ varnish v1 -vcl+backend {
std.collect(beresp.http.bar);
}
sub vcl_deliver {
- std.collect(resp.http.qux);
+ std.collect(resp.http.qux, "; ");
}
} -start
@@ -28,5 +28,5 @@ 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
More information about the varnish-commit
mailing list