From: chen Date: Fri, 10 May 2024 00:50:55 +0000 (+0800) Subject: [iot][time] fix libicu new version applied X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3dbca75b878a8b788d2982820cbb49c74f0450c0;p=test%2Ftct%2Fweb%2Fapi.git [iot][time] fix libicu new version applied Change-Id: I7b283920c1ef78698934fac4c2a6bb1ba1ddabc4 Signed-off-by: chen --- diff --git a/common/tct-time-tizen-tests/time/TZDate_toLocaleString_for_specific_date.html b/common/tct-time-tizen-tests/time/TZDate_toLocaleString_for_specific_date.html index aa030d61f..db93c9feb 100755 --- a/common/tct-time-tizen-tests/time/TZDate_toLocaleString_for_specific_date.html +++ b/common/tct-time-tizen-tests/time/TZDate_toLocaleString_for_specific_date.html @@ -40,7 +40,7 @@ Authors: //==== PRIORITY P1 //==== TEST_CRITERIA MNA MR test(function () { - assert_equals(date.toLocaleString(), /Friday, November 11, 2011 at 4:55:54 AM/, this.name); + assert_equals(date.toLocaleString(), "Friday, November 11, 2011 at 4:55:54 AM", this.name); }, document.title); diff --git a/common/tct-time-tizen-tests/time/TimeUtil_getTimeFormat.html b/common/tct-time-tizen-tests/time/TimeUtil_getTimeFormat.html index aff60de66..c0e36f85b 100755 --- a/common/tct-time-tizen-tests/time/TimeUtil_getTimeFormat.html +++ b/common/tct-time-tizen-tests/time/TimeUtil_getTimeFormat.html @@ -40,7 +40,7 @@ test(function () { var returnedValue; returnedValue = tizen.time.getTimeFormat(); assert_type(returnedValue, "string", "Time format type"); - assert_equals(returnedValue, TIME_FORMAT, "Time format"); + assert_equals(returnedValue, "h:m:s ap", "Time format"); }, document.title);