Skip to content

Commit

Permalink
test: use strictEqual in tests (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith authored and jkwlui committed Jul 18, 2018
1 parent 83e0733 commit 905d41c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/google-cloud-redis/test/gapic-v1beta1.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ describe('CloudRedisClient', () => {

client.listInstances(request, (err, response) => {
assert(err instanceof Error);
assert.equal(err.code, FAKE_STATUS_CODE);
assert.strictEqual(err.code, FAKE_STATUS_CODE);
assert(typeof response === 'undefined');
done();
});
Expand Down Expand Up @@ -173,7 +173,7 @@ describe('CloudRedisClient', () => {

client.getInstance(request, (err, response) => {
assert(err instanceof Error);
assert.equal(err.code, FAKE_STATUS_CODE);
assert.strictEqual(err.code, FAKE_STATUS_CODE);
assert(typeof response === 'undefined');
done();
});
Expand Down Expand Up @@ -290,7 +290,7 @@ describe('CloudRedisClient', () => {
})
.catch(err => {
assert(err instanceof Error);
assert.equal(err.code, FAKE_STATUS_CODE);
assert.strictEqual(err.code, FAKE_STATUS_CODE);
done();
});
});
Expand Down Expand Up @@ -427,7 +427,7 @@ describe('CloudRedisClient', () => {
})
.catch(err => {
assert(err instanceof Error);
assert.equal(err.code, FAKE_STATUS_CODE);
assert.strictEqual(err.code, FAKE_STATUS_CODE);
done();
});
});
Expand Down Expand Up @@ -523,7 +523,7 @@ describe('CloudRedisClient', () => {
})
.catch(err => {
assert(err instanceof Error);
assert.equal(err.code, FAKE_STATUS_CODE);
assert.strictEqual(err.code, FAKE_STATUS_CODE);
done();
});
});
Expand Down

0 comments on commit 905d41c

Please sign in to comment.