diff --git a/js/tests/ecma_2/String/match-004.js b/js/tests/ecma_2/String/match-004.js index b8ceaca0545..c35d9889fb4 100644 --- a/js/tests/ecma_2/String/match-004.js +++ b/js/tests/ecma_2/String/match-004.js @@ -118,9 +118,9 @@ function AddRegExpCases( index, string.match(regexp).index ); - AddTestCase( + AddTestCase( "( " + string + " ).match(" + str_regexp +").input", - string, + str_string, string.match(regexp).input ); var limit = matches_array.length > string.match(regexp).length ? diff --git a/js/tests/ecma_2/String/replace-001.js b/js/tests/ecma_2/String/replace-001.js index 45f0e96ca28..5ff8dc098c7 100644 --- a/js/tests/ecma_2/String/replace-001.js +++ b/js/tests/ecma_2/String/replace-001.js @@ -52,4 +52,9 @@ * Note that the replace function is intentionally generic; it does not * require that its this value be a string object. Therefore, it can be * transferred to other kinds of objects for use as a method. - */ \ No newline at end of file + */ + + + testcases[0] = { expect:"PASSED", actual:"PASSED", description:"NO TESTS EXIST" }; + + test();