Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2017-02-27 09:39:55 +0300
committerAnna Henningsen <anna@addaleax.net>2017-03-06 01:23:19 +0300
commit4f9253686d683b40e9f2ef072e2d5473a60e8265 (patch)
tree741bc37acfc2179aeb4d279e1124aa4ec00400c3 /test
parent13cb8a69e4704922646720aaa6e8be5acd4e076c (diff)
test: apply strict mode in test-repl
Strict mode for the test will not automatically enable strict mode in the REPL object. Enable strict mode in the test. PR-URL: https://github.com/nodejs/node/pull/11575 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/parallel/test-repl.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/parallel/test-repl.js b/test/parallel/test-repl.js
index 70aac915f6b..420010e1a3d 100644
--- a/test/parallel/test-repl.js
+++ b/test/parallel/test-repl.js
@@ -1,4 +1,6 @@
-/* eslint-disable max-len, strict */
+/* eslint-disable max-len */
+'use strict';
+
const common = require('../common');
const assert = require('assert');