Skip to content

Commit 5e131e3

Browse files
authored
webchannel_wrapper.test.ts: use === instead of ==
1 parent dba8c32 commit 5e131e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/firestore/test/unit/core/webchannel_wrapper.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ describe('Integer', () => {
187187
for (let i2 = 0; i2 < numbers.length; i2++) {
188188
const num1 = numbers[i1];
189189
const num2 = numbers[i2];
190-
const expected = i1 == i2 ? 0 : i1 < i2 ? -1 : 1;
190+
const expected = i1 === i2 ? 0 : i1 < i2 ? -1 : 1;
191191
expect(num1.compare(num2)).equals(expected);
192192
}
193193
}

0 commit comments

Comments
 (0)