diff --git a/test/fetch/integrity.js b/test/fetch/integrity.js index f42cd8ba24e..bd464218d55 100644 --- a/test/fetch/integrity.js +++ b/test/fetch/integrity.js @@ -14,7 +14,7 @@ setGlobalDispatcher(new Agent({ test('request with correct integrity checksum', (t) => { const body = 'Hello world!' const hash = createHash('sha256').update(body).digest('hex') - + const server = createServer((req, res) => { res.end(body) }) @@ -33,7 +33,7 @@ test('request with correct integrity checksum', (t) => { test('request with wrong integrity checksum', (t) => { const body = 'Hello world!' const hash = 'c0535e4be2b79ffd93291305436bf889314e4a3faec05ecffcbb7df31ad9e51b' - + const server = createServer((req, res) => { res.end(body) }) @@ -56,7 +56,7 @@ test('request with wrong integrity checksum', (t) => { test('request with integrity checksum on encoded body', (t) => { const body = 'Hello world!' const hash = createHash('sha256').update(body).digest('hex') - + const server = createServer((req, res) => { res.setHeader('content-encoding', 'gzip') res.end(gzipSync(body))