Skip to content

Commit 1440908

Browse files
committed
resolve comments
1 parent 9a11614 commit 1440908

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

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

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -354,11 +354,7 @@ describe('Integer', () => {
354354
expect(new Integer([1, 2], 0).getBits(1)).equals(2);
355355
expect(new Integer([-1, -2], -1).getBits(0)).equals(-1);
356356
expect(new Integer([-1, -2], -1).getBits(1)).equals(-2);
357-
expect(new Integer([0xff, 0xffff], 0).getBits(0)).equals(
358-
Integer.fromNumber(0xff).toNumber()
359-
);
360-
expect(new Integer([0xff, 0xffff], 0).getBits(1)).equals(
361-
Integer.fromNumber(0xffff).toNumber()
362-
);
357+
expect(new Integer([0xff, 0xffff], 0).getBits(0)).equals(0xff);
358+
expect(new Integer([0xff, 0xffff], 0).getBits(1)).equals(0xffff);
363359
});
364360
});

0 commit comments

Comments
 (0)