summaryrefslogtreecommitdiff
path: root/test/parallel/test-http-expect-continue.js
diff options
context:
space:
mode:
authorVse Mozhet Byt <vsemozhetbyt@gmail.com>2017-05-12 03:09:13 +0300
committerAnna Henningsen <anna@addaleax.net>2017-05-15 13:49:45 +0200
commit88d2e699d8287218cc6cd4cc80e13e1055e07fce (patch)
treea59f2b003b4c1796d573a3b56b647022440b8ba9 /test/parallel/test-http-expect-continue.js
parent32f01c8c11568df8b0a996e271bc0690e0967bdb (diff)
downloadandroid-node-v8-88d2e699d8287218cc6cd4cc80e13e1055e07fce.tar.gz
android-node-v8-88d2e699d8287218cc6cd4cc80e13e1055e07fce.tar.bz2
android-node-v8-88d2e699d8287218cc6cd4cc80e13e1055e07fce.zip
test: remove unneeded string splitting
PR-URL: https://github.com/nodejs/node/pull/12992 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Luca Maraschi <luca.maraschi@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Diffstat (limited to 'test/parallel/test-http-expect-continue.js')
-rw-r--r--test/parallel/test-http-expect-continue.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-http-expect-continue.js b/test/parallel/test-http-expect-continue.js
index 35b4c1fcee..7f97ce3592 100644
--- a/test/parallel/test-http-expect-continue.js
+++ b/test/parallel/test-http-expect-continue.js
@@ -31,8 +31,8 @@ let sent_continue = false;
let got_continue = false;
function handler(req, res) {
- assert.strictEqual(sent_continue, true, 'Full response sent before ' +
- '100 Continue');
+ assert.strictEqual(sent_continue, true,
+ 'Full response sent before 100 Continue');
console.error('Server sending full response...');
res.writeHead(200, {
'Content-Type': 'text/plain',