diff --git a/uni_modules/uts-tests/utssdk/KeyWord.uts b/uni_modules/uts-tests/utssdk/KeyWord.uts index 14dc40aea3e4e040dd5495336cfdbc20f4094161..5ea2bb67f34a25f988c5fc68b0b0b0471273b65f 100644 --- a/uni_modules/uts-tests/utssdk/KeyWord.uts +++ b/uni_modules/uts-tests/utssdk/KeyWord.uts @@ -89,6 +89,8 @@ export function testKeyWord() : Result { expect(typeof (0.0)).toEqual('Double') // #endif + expect(typeof (NaN)).toEqual('number') + expect(typeof (Infinity)).toEqual('number') expect(typeof ("hello world")).toEqual('string') expect(typeof ([1, 2, 3])).toEqual('object') expect(typeof (new Array())).toEqual('object')