Skip to content

Commit bdc3dd0

Browse files
JustinBeckwithjkwlui
authored andcommitted
test: use strictEqual in tests (#186)
1 parent 9c03865 commit bdc3dd0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

handwritten/pubsub/samples/system-test/subscriptions.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ test.serial(`should create a subscription`, async t => {
7676
const [subscriptions] = await pubsub
7777
.topic(topicNameOne)
7878
.getSubscriptions();
79-
assert.equal(subscriptions[0].name, fullSubscriptionNameOne);
79+
assert.strictEqual(subscriptions[0].name, fullSubscriptionNameOne);
8080
})
8181
.start();
8282
});
@@ -191,7 +191,7 @@ test.serial(`should listen for ordered messages`, async t => {
191191
subscriptionNameThree,
192192
timeout
193193
);
194-
assert.equal(console.log.callCount, 3);
194+
assert.strictEqual(console.log.callCount, 3);
195195
assert.deepEqual(console.log.secondCall.args, [
196196
`* %d %j %j`,
197197
publishedMessageIds[2],

0 commit comments

Comments
 (0)