Replace assert.equal() by assert.strictEqual()

This commit is contained in:
Daniel García Aubert
2019-10-21 19:41:03 +02:00
parent 4d70ac0894
commit 1bee877b24
100 changed files with 1100 additions and 1100 deletions
+4 -4
View File
@@ -88,7 +88,7 @@ describe('buffer size per format', function () {
assert: function (tile, callback) {
var tileJSON = tile.toJSON();
var features = tileJSON[0].features;
assert.equal(features.length, 1);
assert.strictEqual(features.length, 1);
callback();
}
},
@@ -101,7 +101,7 @@ describe('buffer size per format', function () {
assert: function (tile, callback) {
var tileJSON = tile.toJSON();
var features = tileJSON[0].features;
assert.equal(features.length, 9);
assert.strictEqual(features.length, 9);
callback();
}
},
@@ -377,7 +377,7 @@ describe('buffer size per format for named maps w/o placeholders', function () {
var vtileJSON = vtile.toJSON();
var vtileFeatures = vtileJSON[0].features;
assert.equal(features.length, vtileFeatures.length);
assert.strictEqual(features.length, vtileFeatures.length);
callback();
}
},
@@ -402,7 +402,7 @@ describe('buffer size per format for named maps w/o placeholders', function () {
var vtileJSON = vtile.toJSON();
var vtileFeatures = vtileJSON[0].features;
assert.equal(features.length, vtileFeatures.length);
assert.strictEqual(features.length, vtileFeatures.length);
callback();
}
},