From 7b9a606c9f3bf026df249701e66d0008dc71051d Mon Sep 17 00:00:00 2001 From: duqingquan Date: Wed, 19 Jul 2023 15:18:12 +0800 Subject: [PATCH] =?UTF-8?q?math=20=E8=AF=AD=E6=B3=95=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uni_modules/uts-tests/utssdk/Math.uts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uni_modules/uts-tests/utssdk/Math.uts b/uni_modules/uts-tests/utssdk/Math.uts index e4ddabf..93ec652 100644 --- a/uni_modules/uts-tests/utssdk/Math.uts +++ b/uni_modules/uts-tests/utssdk/Math.uts @@ -237,7 +237,7 @@ export function testMath(): Result { expect(Math.trunc(0.123)).toEqual(0); }) test('round', () => { - expect(Math.round(0.9).toEqual(1)); + expect(Math.round(0.9)).toEqual(1); expect(Math.round(5.95)).toEqual(6); expect(Math.round(-5.05)).toEqual(-5); }) -- GitLab