From 366e7e7969dc0511c41a2f075281191b30fd67c1 Mon Sep 17 00:00:00 2001 From: hekun Date: Tue, 29 Aug 2023 17:02:15 +0800 Subject: [PATCH] submit the case Signed-off-by: hekun --- .../entry/src/main/ets/test/SearchJsunit.test.ets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arkui/ace_ets_component_ui/entry/src/main/ets/test/SearchJsunit.test.ets b/arkui/ace_ets_component_ui/entry/src/main/ets/test/SearchJsunit.test.ets index 737fef99d..150a871fe 100644 --- a/arkui/ace_ets_component_ui/entry/src/main/ets/test/SearchJsunit.test.ets +++ b/arkui/ace_ets_component_ui/entry/src/main/ets/test/SearchJsunit.test.ets @@ -246,7 +246,7 @@ export default function SearchJsunit() { expect(obj.$attrs.icon).assertEqual('resource:///ohos_search.svg'); expect(obj.$attrs.searchButton).assertEqual('search'); expect(obj.$attrs.placeholderColor).assertEqual('#FF00000A'); - expect(obj.$attrs.value).assertEqual(''); + expect(obj.$attrs.value).assertEqual('hello'); expect(obj.$attrs.placeholderFont).assertEqual('{"style":"FontStyle.Normal","size":"14.00fp","weight":"400","fontFamily":"sans-serif"}'); expect(obj.$attrs.textFont).assertEqual('{"fontSize":"14.00fp","fontStyle":"FontStyle.Normal","fontWeight":"400","fontFamily":"HarmonyOS Sans"}'); expect(obj.$attrs.textAlign).assertEqual('TextAlign.Start'); -- GitLab