test: enforce strict mode for test-domain-crypto
The last change to this test landed before a nit about strict mode was addressed, so this change addresses that. PR-URL: https://github.com/nodejs/node/pull/6047 Refs: https://github.com/nodejs/node/pull/6017 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Roman Klauke <romaaan.git@gmail.com>
This commit is contained in:
parent
0f3c3b4bdb
commit
d4eafd0c11
@ -1,4 +1,6 @@
|
|||||||
/* eslint-disable strict, required-modules */
|
/* eslint-disable required-modules */
|
||||||
|
'use strict';
|
||||||
|
|
||||||
try {
|
try {
|
||||||
var crypto = require('crypto');
|
var crypto = require('crypto');
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user