From 0aa2d9da865667e453b483bbbb204091647580c3 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 73a1c07..436bfcb 100644 --- a/uni_modules/uts-tests/utssdk/Array.uts +++ b/uni_modules/uts-tests/utssdk/Array.uts @@ -671,6 +671,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