diff --git a/js/tests/ecma_2/String/match-002.js b/js/tests/ecma_2/String/match-002.js index 406c87b7ced..2e5ac8254a3 100644 --- a/js/tests/ecma_2/String/match-002.js +++ b/js/tests/ecma_2/String/match-002.js @@ -73,7 +73,7 @@ s.length, s, s.lastIndexOf("0"), - null ); + ["02134", "02134"] ); re.lastIndex = s.lastIndexOf("0"); @@ -90,8 +90,8 @@ "re = /([\d]{5})([-\ ]?[\d]{4})?$/; re.lastIndex = " + s.lastIndexOf("0") +1, s, - 0, - null); + s.lastIndexOf("0"), + ["02134", "02134"]); test();