From 5021cb1b833890efd4b9a6103678367eed2ed18a Mon Sep 17 00:00:00 2001 From: mahaifeng Date: Wed, 4 Sep 2024 11:27:56 +0800 Subject: [PATCH] =?UTF-8?q?[array]=E5=8E=BB=E9=99=A4=E6=89=8B=E5=8A=A8?= =?UTF-8?q?=E7=94=9F=E6=88=90=E7=9A=84=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uni_modules/uts-tests/utssdk/Array.uts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/uni_modules/uts-tests/utssdk/Array.uts b/uni_modules/uts-tests/utssdk/Array.uts index 6da9f52..100edfc 100644 --- a/uni_modules/uts-tests/utssdk/Array.uts +++ b/uni_modules/uts-tests/utssdk/Array.uts @@ -674,6 +674,13 @@ export function testArray() : Result { // Expected output: false // #END }) + //示例 + test("sample_create", () => { + // #TEST Array.sampleCreate + const fruits = ['Apple', 'Banana'] + console.log(fruits.length) + // #END + }) }) } \ No newline at end of file -- GitLab