diff --git a/uni_modules/uts-tests/utssdk/Number.uts b/uni_modules/uts-tests/utssdk/Number.uts index 3920eeb733673650ef73fafb3d9d9774a2debdc4..cdbc18a0392e4716f99b1db2ef8df7f6067ee42a 100644 --- a/uni_modules/uts-tests/utssdk/Number.uts +++ b/uni_modules/uts-tests/utssdk/Number.uts @@ -63,7 +63,7 @@ export function testNumber(): Result { expect(isFinite(0)).toEqual(true); }) test('isInteger', () => { - expect(Number.isInteger(12.0)).toEqual(true); + expect(Number.isInteger(12)).toEqual(true); expect(Number.isInteger(12.01)).toEqual(false); expect(Number.isInteger(-213123112.01)).toEqual(false); expect(Number.isInteger(-213123112)).toEqual(true);