From 8ab2d73b39649abb5fa9539bdd2eff668d99355f Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Mon, 4 Apr 2016 16:47:42 -0700 Subject: [PATCH] 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 Reviewed-By: Benjamin Gruenbaum Reviewed-By: Roman Klauke --- test/parallel/test-domain-crypto.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/parallel/test-domain-crypto.js b/test/parallel/test-domain-crypto.js index 4dd979dafeab73..e6dbccf86ca39e 100644 --- a/test/parallel/test-domain-crypto.js +++ b/test/parallel/test-domain-crypto.js @@ -1,4 +1,6 @@ -/* eslint-disable strict, required-modules */ +/* eslint-disable required-modules */ +'use strict'; + try { var crypto = require('crypto'); } catch (e) {