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 2017-02-26 22:39:55 -08:00 committed by Anna Henningsen
parent 04c1fbb0fa
commit f3b9a85f86
No known key found for this signature in database
GPG Key ID: D8B9F5AEAE84E4CF

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');