diff --git a/uni_modules/uts-tests/utssdk/Global.uts b/uni_modules/uts-tests/utssdk/Global.uts index 8267142a01cc66d9866529efbe4e85a1785edeaa..5b7b28e7294f0da1274df539ef1095f5a6433abc 100644 --- a/uni_modules/uts-tests/utssdk/Global.uts +++ b/uni_modules/uts-tests/utssdk/Global.uts @@ -47,8 +47,8 @@ export function testGlobal(): Result { expect(parseFloat("314e-2")).toEqual(3.14); expect(parseFloat("0.0314E+2")).toEqual(3.14); expect(parseFloat("3.14some non-digit characters")).toEqual(3.14); - expect(parseFloat("100") / 50).toEqual(2.0); - + expect(parseFloat("100") / 50).toEqual(2); + expect(parseFloat("105") / 50).toEqual(2.1); }) test('encodeURI', () => {