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>
This commit is contained in:
Rich Trott authored and Anna Henningsen committed 2017-03-05 23:23:19 +01:00
1 parent 13cb8a69e4
commit 4f9253686d
1 file changed
+3 -1
+3 -1
View File
@@ -1,4 +1,6 @@
/* eslint-disable max-len, strict */
/* eslint-disable max-len */
'use strict';
const common = require('../common');
const assert = require('assert');