summaryrefslogtreecommitdiff
path: root/test/parallel/test-http-parser-bad-ref.js
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2016-04-25 23:32:35 -0700
committerRich Trott <rtrott@gmail.com>2016-04-28 14:42:51 -0700
commit8f5695865860ecf06868a89687923e7eb514b442 (patch)
tree17417f2130d412e0dd04fa46733d1ea31079b5e2 /test/parallel/test-http-parser-bad-ref.js
parent296bfd239cef866af893303220b0719e0753d3a7 (diff)
downloadandroid-node-v8-8f5695865860ecf06868a89687923e7eb514b442.tar.gz
android-node-v8-8f5695865860ecf06868a89687923e7eb514b442.tar.bz2
android-node-v8-8f5695865860ecf06868a89687923e7eb514b442.zip
test,tools: adjust function argument alignment
In preparation for a lint rule enforcing function argument alignment, adjust function arguments to be aligned. PR-URL: https://github.com/nodejs/node/pull/6390 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Johan Bergström <bugs@bergstroem.nu> Reviewed-By: Brian White <mscdex@mscdex.net> Reviewed-By: Imran Iqbal <imran@imraniqbal.org> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Ryan Graham <r.m.graham@gmail.com>
Diffstat (limited to 'test/parallel/test-http-parser-bad-ref.js')
-rw-r--r--test/parallel/test-http-parser-bad-ref.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/parallel/test-http-parser-bad-ref.js b/test/parallel/test-http-parser-bad-ref.js
index b7f132a3ea..244528af63 100644
--- a/test/parallel/test-http-parser-bad-ref.js
+++ b/test/parallel/test-http-parser-bad-ref.js
@@ -75,10 +75,12 @@ demoBug('POST /1', '/22 HTTP/1.1\r\n' +
'Content-Length: 4\r\n\r\n' +
'pong');
+/* eslint-disable align-function-arguments */
demoBug('POST /1/22 HTTP/1.1\r\n' +
'Content-Type: tex', 't/plain\r\n' +
'Content-Length: 4\r\n\r\n' +
'pong');
+/* eslint-enable align-function-arguments */
process.on('exit', function() {
assert.equal(2, headersComplete);