test: fix test-debugger-client.js
authorRich Trott <rtrott@gmail.com>
Tue, 22 Mar 2016 22:11:53 +0000 (15:11 -0700)
committerMyles Borins <mborins@us.ibm.com>
Fri, 8 Apr 2016 21:27:25 +0000 (17:27 -0400)
Fix long-broken test-debugger-client by adding missing `\r\n\r\n`
separator.

PR-URL: https://github.com/nodejs/node/pull/5851
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
test/debugger/test-debugger-client.js

index 972c947..fe65405 100644 (file)
@@ -73,7 +73,7 @@ var d = 'Content-Length: 466\r\n\r\n' +
         '"context":{"ref":0},"text":"dns.js (lines: 241)"}},"refs":' +
         '[{"handle":0' +
         ',"type":"context","text":"#<a ContextMirror>"}],"running":true}' +
-        'Content-Length: 119\r\n\r\n' +
+        '\r\n\r\nContent-Length: 119\r\n\r\n' +
         '{"seq":11,"type":"event","event":"scriptCollected","success":true,' +
         '"body":{"script":{"id":26}},"refs":[],"running":true}';
 p.execute(d);