[common][time] fix 2 fails regex was invalidated 84/309684/1
authorchen <chen89.chen@samsung.com>
Mon, 15 Apr 2024 10:19:29 +0000 (18:19 +0800)
committerchen <chen89.chen@samsung.com>
Mon, 15 Apr 2024 10:19:33 +0000 (18:19 +0800)
Change-Id: If3094a7dd3dbde8ba5021f5d3dadbfe06ce94ed7
Signed-off-by: chen <chen89.chen@samsung.com>
common/tct-time-tizen-tests/time/TZDate_toString_for_specific_date.html
common/tct-time-tizen-tests/time/TZDate_toTimeString_for_specific_date.html

index 01b150a2660bba3ce8fb8492ccb77e7874aa9386..85b1d6b9f12dd56d3e76ce8b93379e4c4a4c33dd 100755 (executable)
@@ -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);
 
 </script>
index afd05f5d6b7c783bef4a7de98406077f385ffc43..1734a391eacd35b2a130cdcc7c51496384c46e93 100755 (executable)
@@ -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);
 
 </script>