please jshint

This commit is contained in:
Eneko Lakasta 2018-03-06 15:34:29 +01:00
parent 8d22ca66ba
commit 0185cdf785

View File

@ -155,7 +155,7 @@ describe('get requests with cache headers', function() {
assert.ok(res.headers['x-cache-channel']); assert.ok(res.headers['x-cache-channel']);
assert.ok(res.headers['surrogate-key']); assert.ok(res.headers['surrogate-key']);
assert.ok(res.headers['vary'] === 'Authorization'); assert.ok(res.headers.vary === 'Authorization');
if (expectedCacheHeaders) { if (expectedCacheHeaders) {
validateXChannelHeaders(res.headers, expectedCacheHeaders); validateXChannelHeaders(res.headers, expectedCacheHeaders);
assert.equal(res.headers['surrogate-key'], expectedCacheHeaders.surrogate_keys); assert.equal(res.headers['surrogate-key'], expectedCacheHeaders.surrogate_keys);