Skip to content

Commit fdbb6b1

Browse files
committed
reduce numbers for subtract big numbers test due to microsoft/TypeScript#42448
1 parent c101909 commit fdbb6b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utilityFunctions/__tests__/Number.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ describe('arithmetic', () => {
2828
assert(num === 2)
2929
})
3030
test('big numbers', () => {
31-
const num = subtract(10000, 3000) // $ExpectType 7000
32-
assert(num === 7000)
31+
const num = subtract(5000, 3000) // $ExpectType 2000
32+
assert(num === 2000)
3333
})
3434
})
3535
describe('multiply', () => {

0 commit comments

Comments
 (0)