aboutsummaryrefslogtreecommitdiff
path: root/test/parallel/test-vm-timeout.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-vm-timeout.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-vm-timeout.js')
-rw-r--r--test/parallel/test-vm-timeout.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-vm-timeout.js b/test/parallel/test-vm-timeout.js
index 19ccd2cee5..939f15f9fd 100644
--- a/test/parallel/test-vm-timeout.js
+++ b/test/parallel/test-vm-timeout.js
@@ -52,7 +52,7 @@ assert.throws(function() {
};
vm.runInNewContext('runInVM(10)', context, { timeout: 10000 });
throw new Error('Test 5 failed');
-}, /Script execution timed out./);
+}, /Script execution timed out\./);
// Test 6: Nested vm timeouts, outer timeout is shorter and fires first.
assert.throws(function() {
@@ -63,7 +63,7 @@ assert.throws(function() {
};
vm.runInNewContext('runInVM(10000)', context, { timeout: 100 });
throw new Error('Test 6 failed');
-}, /Script execution timed out./);
+}, /Script execution timed out\./);
// Test 7: Nested vm timeouts, inner script throws an error.
assert.throws(function() {