summaryrefslogtreecommitdiff
path: root/test/parallel/test-http-raw-headers.js
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2018-03-05 15:50:22 -0800
committerRich Trott <rtrott@gmail.com>2018-03-07 19:06:44 -0800
commit3c31bfff6599cf68bda2552a92d982559bd64c5e (patch)
treed7f8aa1e07ff4050c575ee21d13c7613d13f178f /test/parallel/test-http-raw-headers.js
parent282e65cfe3d38c582b77939c26b9c00952805340 (diff)
downloadandroid-node-v8-3c31bfff6599cf68bda2552a92d982559bd64c5e.tar.gz
android-node-v8-3c31bfff6599cf68bda2552a92d982559bd64c5e.tar.bz2
android-node-v8-3c31bfff6599cf68bda2552a92d982559bd64c5e.zip
benchmark,lib,test,tools: use consistent quotes
In preparation for a linting rule, use consistent quotation for properties in objects. PR-URL: https://github.com/nodejs/node/pull/19156 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Teddy Katz <teddy.katz@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Roman Reiss <me@silverwind.io>
Diffstat (limited to 'test/parallel/test-http-raw-headers.js')
-rw-r--r--test/parallel/test-http-raw-headers.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/parallel/test-http-raw-headers.js b/test/parallel/test-http-raw-headers.js
index eb3f7280f8..8ce20db351 100644
--- a/test/parallel/test-http-raw-headers.js
+++ b/test/parallel/test-http-raw-headers.js
@@ -37,10 +37,10 @@ http.createServer(function(req, res) {
'close'
];
const expectHeaders = {
- host: `localhost:${this.address().port}`,
+ 'host': `localhost:${this.address().port}`,
'transfer-encoding': 'CHUNKED',
'x-bar': 'yoyoyo',
- connection: 'close'
+ 'connection': 'close'
};
const expectRawTrailers = [
'x-bAr',
@@ -96,9 +96,9 @@ http.createServer(function(req, res) {
'chunked'
];
const expectHeaders = {
- trailer: 'x-foo',
- date: null,
- connection: 'close',
+ 'trailer': 'x-foo',
+ 'date': null,
+ 'connection': 'close',
'transfer-encoding': 'chunked'
};
res.rawHeaders[3] = null;