From ef29a1b2adaa1b8d0ad590885e7f9f299e65d03d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E4=BA=9A=E7=90=AA?= Date: Mon, 29 Jul 2024 20:23:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=AF=AD=E6=B3=95?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E3=80=81=E8=B7=AF=E5=BE=84=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uni_modules/uts-tests/utssdk/ArrayBuffer.uts | 4 ++-- uni_modules/uts-tests/utssdk/console.uts | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/uni_modules/uts-tests/utssdk/ArrayBuffer.uts b/uni_modules/uts-tests/utssdk/ArrayBuffer.uts index de05cab..3def9b8 100644 --- a/uni_modules/uts-tests/utssdk/ArrayBuffer.uts +++ b/uni_modules/uts-tests/utssdk/ArrayBuffer.uts @@ -5,8 +5,8 @@ import { TFloat64Array } from './TFloat64Array.uts' import { TInt8Array } from './TInt8Array.uts' import { TInt16Array } from './TInt16Array.uts' import { TInt32Array } from './TInt32Array.uts' -import { TUint8Array } from './TUint8Array.uts' -import { TUint8ClampedArray } from './TUint8ClampedArray.uts' +import { TUint8Array } from './TUInt8Array.uts' +import { TUint8ClampedArray } from './TUInt8ClampedArray.uts' import { TUint16Array } from './TUint16Array.uts' import { TUint32Array } from './TUint32Array.uts' diff --git a/uni_modules/uts-tests/utssdk/console.uts b/uni_modules/uts-tests/utssdk/console.uts index ef08a5a..1fc5bf5 100644 --- a/uni_modules/uts-tests/utssdk/console.uts +++ b/uni_modules/uts-tests/utssdk/console.uts @@ -1,10 +1,12 @@ import { describe, test, expect, expectNumber, Result } from './tests.uts' -function obtainInnerObject(obj:Any | null):UTSJSONObject{ +// #ifdef APP-ANDROID +function obtainInnerObject(obj:any | null):UTSJSONObject{ let jsonStr = console.getLogV2(obj).slice(19,-17) let a = JSON.parseArray(jsonStr)![0] return a as UTSJSONObject } +// #endif export function testConsole() : Result { return describe("log", () => { -- GitLab