From fe4e7ca29c74991b61fc383b9f2119818c512eed Mon Sep 17 00:00:00 2001 From: m0_75226990 Date: Mon, 21 Oct 2024 13:00:49 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E9=83=A8=E5=88=86=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=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, 2 insertions(+), 1 deletion(-) diff --git a/uni_modules/uts-tests/utssdk/JSON.uts b/uni_modules/uts-tests/utssdk/JSON.uts index 511acf7..9781d4e 100644 --- a/uni_modules/uts-tests/utssdk/JSON.uts +++ b/uni_modules/uts-tests/utssdk/JSON.uts @@ -85,13 +85,14 @@ export function testJSON() : Result { return describe("JSON", () => { test('custom-stringify', () => { - + // #ifdef APP-ANDROID expect(JSON.stringify(new A1())!.length).toEqual(28) expect(JSON.stringify(new A2())).toEqual("2") expect(JSON.stringify(new A3())).toEqual('"json"') expect(JSON.stringify(new A4())).toEqual('null') expect(JSON.stringify(new A5())!.length).toEqual(28) expect(JSON.stringify(new A6())!.length).toEqual(28) + // #endif }) -- GitLab