Enable tests after #435.

JerryScript-DCO-1.0-Signed-off-by: Zsolt Borbély zsborbely.u-szeged@partner.samsung.com
This commit is contained in:
Zsolt Borbély
2015-08-05 16:56:42 +02:00
parent 554305d88c
commit 9cc706d21d
+3 -3
View File
@@ -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"]));