Skip to content

Commit

Permalink
test: use strictEqual in tests (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith authored and jkwlui committed Jul 18, 2018
1 parent 6c8b9bd commit bcb8330
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/google-cloud-dns/system-test/dns.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ const DNS_DOMAIN = process.env.GCLOUD_TESTS_DNS_DOMAIN;
it('should get the metadata for a zone', function(done) {
ZONE.getMetadata(function(err, metadata) {
assert.ifError(err);
assert.equal(metadata.name, ZONE_NAME);
assert.strictEqual(metadata.name, ZONE_NAME);
done();
});
});
Expand Down
4 changes: 2 additions & 2 deletions packages/google-cloud-dns/test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const fakePaginator = {

extended = true;
methods = arrify(methods);
assert.equal(Class.name, 'DNS');
assert.strictEqual(Class.name, 'DNS');
assert.deepEqual(methods, ['getZones']);
},
streamify: function(methodName) {
Expand Down Expand Up @@ -274,7 +274,7 @@ describe('DNS', function() {

it('should use an empty query if one was not provided', function(done) {
dns.request = function(reqOpts) {
assert.equal(Object.keys(reqOpts.qs).length, 0);
assert.strictEqual(Object.keys(reqOpts.qs).length, 0);
done();
};

Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-dns/test/zone.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const fakePaginator = {

extended = true;
methods = arrify(methods);
assert.equal(Class.name, 'Zone');
assert.strictEqual(Class.name, 'Zone');
assert.deepEqual(methods, ['getChanges', 'getRecords']);
},
streamify: function(methodName) {
Expand Down

0 comments on commit bcb8330

Please sign in to comment.