summaryrefslogtreecommitdiff
path: root/test/parallel/test-http-response-status-message.js
diff options
context:
space:
mode:
authorBrian White <mscdex@mscdex.net>2017-03-13 14:50:57 -0400
committerFranziska Hinkelmann <franzih@chromium.org>2017-03-29 10:53:28 +0200
commit61ebfa8d1fcb468cb95fdf3742e1672e48672b32 (patch)
treed27fc28ee4734f50b8afd8cce2ec7fa28992982d /test/parallel/test-http-response-status-message.js
parent678480e328c1fdd152973695e978e0f02b489770 (diff)
downloadandroid-node-v8-61ebfa8d1fcb468cb95fdf3742e1672e48672b32.tar.gz
android-node-v8-61ebfa8d1fcb468cb95fdf3742e1672e48672b32.tar.bz2
android-node-v8-61ebfa8d1fcb468cb95fdf3742e1672e48672b32.zip
tools: add unescaped regexp dot rule to linter
PR-URL: https://github.com/nodejs/node/pull/11834 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Teddy Katz <teddy.katz@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Diffstat (limited to 'test/parallel/test-http-response-status-message.js')
-rw-r--r--test/parallel/test-http-response-status-message.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-http-response-status-message.js b/test/parallel/test-http-response-status-message.js
index 460fc1890f..f7ceaf2fb8 100644
--- a/test/parallel/test-http-response-status-message.js
+++ b/test/parallel/test-http-response-status-message.js
@@ -51,7 +51,7 @@ testCases.findByPath = function(path) {
const server = net.createServer(function(connection) {
connection.on('data', function(data) {
- const path = data.toString().match(/GET (.*) HTTP.1.1/)[1];
+ const path = data.toString().match(/GET (.*) HTTP\/1\.1/)[1];
const testCase = testCases.findByPath(path);
connection.write(testCase.response);