Browse Source

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>
v6.x
Rich Trott 8 years ago
committed by Myles Borins
parent
commit
d4f2ef7a59
No known key found for this signature in database GPG Key ID: 933B01F40B5CA946
  1. 4
      test/parallel/test-repl.js

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

Loading…
Cancel
Save