mirror of https://github.com/nodejs/node.git
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>pull/6047/merge
parent
0f3c3b4bdb
commit
d4eafd0c11
|
@ -1,4 +1,6 @@
|
|||
/* eslint-disable strict, required-modules */
|
||||
/* eslint-disable required-modules */
|
||||
'use strict';
|
||||
|
||||
try {
|
||||
var crypto = require('crypto');
|
||||
} catch (e) {
|
||||
|
|
Loading…
Reference in New Issue