From 9cc706d21dcf9134e0c6d4dc3496185e73254303 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zsolt=20Borb=C3=A9ly?= Date: Wed, 5 Aug 2015 16:56:42 +0200 Subject: [PATCH] Enable tests after #435. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit JerryScript-DCO-1.0-Signed-off-by: Zsolt Borbély zsborbely.u-szeged@partner.samsung.com --- tests/jerry/string-prototype-match.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/jerry/string-prototype-match.js b/tests/jerry/string-prototype-match.js index 8b428acaa..80ef8acdf 100644 --- a/tests/jerry/string-prototype-match.js +++ b/tests/jerry/string-prototype-match.js @@ -47,9 +47,9 @@ assert (match_equals ("hello".match(/l/g), ["l", "l"])); assert ("".match(/a/g) == void 0); assert ("".match() !== void 0 ); -// FIXME: uncomment when #435 landed. -//assert (match_equals ("".match(), [""])); -//assert (match_equals ("".match(undefined), [""])); + +assert (match_equals ("".match(), [""])); +assert (match_equals ("".match(undefined), [""])); assert (match_equals ("".match(""), [""])); assert (match_equals ("test 1, test 2, test 3, test 45".match(/[0-9]+/g), ["1", "2", "3", "45"]));