From: chen Date: Mon, 15 Apr 2024 10:19:29 +0000 (+0800) Subject: [common][time] fix 2 fails regex was invalidated X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=34df5c2e66db0bc9b8e1b2b9cfa10ce6538b159f;p=test%2Ftct%2Fweb%2Fapi.git [common][time] fix 2 fails regex was invalidated Change-Id: If3094a7dd3dbde8ba5021f5d3dadbfe06ce94ed7 Signed-off-by: chen --- diff --git a/common/tct-time-tizen-tests/time/TZDate_toString_for_specific_date.html b/common/tct-time-tizen-tests/time/TZDate_toString_for_specific_date.html index 01b150a26..85b1d6b9f 100755 --- a/common/tct-time-tizen-tests/time/TZDate_toString_for_specific_date.html +++ b/common/tct-time-tizen-tests/time/TZDate_toString_for_specific_date.html @@ -36,7 +36,7 @@ Authors: //==== TEST_CRITERIA MNA MR test(function () { - assert_regexp_match(date.toString(), /Friday, November 11, 2011 at 4:55:54 AM GMT+0900 South Korea Time/, this.name); + assert_regexp_match(date.toString(), /Friday, November 11, 2011 at 4:55:54 AM GMT\+0900 South Korea Time/, this.name); }, document.title); diff --git a/common/tct-time-tizen-tests/time/TZDate_toTimeString_for_specific_date.html b/common/tct-time-tizen-tests/time/TZDate_toTimeString_for_specific_date.html index afd05f5d6..1734a391e 100755 --- a/common/tct-time-tizen-tests/time/TZDate_toTimeString_for_specific_date.html +++ b/common/tct-time-tizen-tests/time/TZDate_toTimeString_for_specific_date.html @@ -39,7 +39,7 @@ Authors: //==== PRIORITY P1 //==== TEST_CRITERIA MNA MR test(function () { - assert_regexp_match(date.toTimeString(), /4:55:54 AM GMT+0900 South Korea Time/, this.name); + assert_regexp_match(date.toTimeString(), /4:55:54 AM GMT\+0900 South Korea Time/, this.name); }, document.title);