Replace assert.deepEqual() by assert.deepStrictEqual()

This commit is contained in:
Daniel García Aubert
2019-10-21 19:52:51 +02:00
parent 1bee877b24
commit 2423b5a4c4
69 changed files with 275 additions and 275 deletions
+1 -1
View File
@@ -237,7 +237,7 @@ assert.utfgridEqualsFile = function (buffer, file_b, tolerance, callback) {
throw new Error(celldiff.length + ' cell differences: ' + celldiff);
}
assert.deepEqual(obtained_json.keys, expected_json.keys);
assert.deepStrictEqual(obtained_json.keys, expected_json.keys);
} catch (e) { err = e; }
callback(err);
+1 -1
View File
@@ -72,7 +72,7 @@ function checkSurrogateKey (res, expectedKey) {
var keys = res.headers['surrogate-key'].split(' ').reduce(createSet, {});
var expectedKeys = expectedKey.split(' ').reduce(createSet, {});
assert.deepEqual(keys, expectedKeys);
assert.deepStrictEqual(keys, expectedKeys);
}
var uncaughtExceptions = [];