From 6297024af214aef8e0032d022d398c125ea3f9ba Mon Sep 17 00:00:00 2001 From: duqingquan Date: Sat, 9 Sep 2023 17:27:10 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E9=83=A8=E5=88=86=E7=A4=BA?= =?UTF-8?q?=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uni_modules/uts-tests/utssdk/JSON.uts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/uni_modules/uts-tests/utssdk/JSON.uts b/uni_modules/uts-tests/utssdk/JSON.uts index 9ec7253..506cb9c 100644 --- a/uni_modules/uts-tests/utssdk/JSON.uts +++ b/uni_modules/uts-tests/utssdk/JSON.uts @@ -109,8 +109,7 @@ export function testJSON() : Result { expect(JSON.parse('{}')!).toEqual({}); - let userKeyWord = JSON.parse('{"is":false,"class":"classOne","abstract":12}') - expect(userKeyWord!.class).toEqual("classOne"); + // TODO 不支持boolean、string,js端需抹平 // expect(JSON.parse('true')!).toEqual(true); // expect(JSON.parse('"foo"')!).toEqual("foo"); -- GitLab