From 58084999f648f708d9ee346cc8023c63757408a9 Mon Sep 17 00:00:00 2001 From: m0_75226990 Date: Thu, 19 Oct 2023 18:31:16 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=95=B0=E5=AD=97=E5=AF=B9?= =?UTF-8?q?=E6=AF=94=E5=88=A4=E6=96=AD=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uni_modules/uts-tests/utssdk/Matchers.uts | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/uni_modules/uts-tests/utssdk/Matchers.uts b/uni_modules/uts-tests/utssdk/Matchers.uts index 55597d7..61a24e5 100644 --- a/uni_modules/uts-tests/utssdk/Matchers.uts +++ b/uni_modules/uts-tests/utssdk/Matchers.uts @@ -17,9 +17,14 @@ export class Matchers { } toEqualNumber(expected: T) { - if (expected == this.actual) { - return - } + // #ifndef APP-IOS + if (expected == this.actual) { + return + } + // #endif + // #ifdef APP-IOS + this.toEqual(expected) + // #endif } } /** -- GitLab