From 4f9253686d683b40e9f2ef072e2d5473a60e8265 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sun, 26 Feb 2017 22:39:55 -0800 Subject: [PATCH] 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 Reviewed-By: Colin Ihrig Reviewed-By: Evan Lucas Reviewed-By: Sakthipriyan Vairamani Reviewed-By: Anna Henningsen Reviewed-By: Santiago Gimeno --- test/parallel/test-repl.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/parallel/test-repl.js b/test/parallel/test-repl.js index 70aac915f6b594..420010e1a3d6c9 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');