From f8b59d133d12700952818a73444634e084343e1c Mon Sep 17 00:00:00 2001 From: m0_75226990 Date: Sat, 9 Sep 2023 17:55:35 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E9=83=A8=E5=88=86case?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uni_modules/uts-tests/utssdk/Number.uts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uni_modules/uts-tests/utssdk/Number.uts b/uni_modules/uts-tests/utssdk/Number.uts index 3920eeb..cdbc18a 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); -- GitLab