Skip to content

Commit

Permalink
Clarify numeric value
Browse files Browse the repository at this point in the history
  • Loading branch information
hpeebles committed Oct 3, 2024
1 parent f2e2d59 commit 5a25840
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/runtime/value/convert/bigint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ describe('value/convert/BigInt', () => {
})
it('Should convert bigint from number 3', () => {
const T = Type.BigInt()
const R = Value.Convert(T, 2147483648)
const R = Value.Convert(T, Math.pow(2, 31))
Assert.IsEqual(R, BigInt(2147483648))
})
it('Should convert bigint from number 4', () => {
Expand Down

0 comments on commit 5a25840

Please sign in to comment.