summaryrefslogtreecommitdiff
path: root/test/parallel/test-module-loading-error.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-module-loading-error.js')
-rw-r--r--test/parallel/test-module-loading-error.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-module-loading-error.js b/test/parallel/test-module-loading-error.js
index 03481b690f..44806fceb7 100644
--- a/test/parallel/test-module-loading-error.js
+++ b/test/parallel/test-module-loading-error.js
@@ -28,11 +28,11 @@ try {
try {
require();
} catch (e) {
- assert.notEqual(e.toString().indexOf('missing path'), -1);
+ assert.notStrictEqual(e.toString().indexOf('missing path'), -1);
}
try {
require({});
} catch (e) {
- assert.notEqual(e.toString().indexOf('path must be a string'), -1);
+ assert.notStrictEqual(e.toString().indexOf('path must be a string'), -1);
}