diff --git a/uni_modules/uts-tests/utssdk/Global.uts b/uni_modules/uts-tests/utssdk/Global.uts index 1c96bfccb970e2e39bea6918a6feba4160d3ad49..8c8f527788044107a5f4da4aff86112b288ea50b 100644 --- a/uni_modules/uts-tests/utssdk/Global.uts +++ b/uni_modules/uts-tests/utssdk/Global.uts @@ -76,8 +76,8 @@ export function testGlobal() : Result { expect(parseInt("922337203685477580700099999999999999999999999999999999999999999999999999999999999999999")).toEqualNumber(9.223372036854776e+86) expect(parseInt("50") / 100).toEqualNumber(0.5); expect(parseInt("500") / 100).toEqualNumber(5); - expect(parseFloat("3.0").toString()).toEqual("3"); - expect(parseFloat("3.02").toString()).toEqual("3"); + expect(parseInt("3.0").toString()).toEqual("3"); + expect(parseInt("3.02").toString()).toEqual("3"); // #END })