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
Rich Trott 2016-04-04 16:47:42 -07:00
parent 0f3c3b4bdb
commit d4eafd0c11
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,6 @@
/* eslint-disable strict, required-modules */
/* eslint-disable required-modules */
'use strict';
try {
var crypto = require('crypto');
} catch (e) {