diff --git a/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-010.js b/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-010.js index fe8c2f251..bd88fcbd7 100644 --- a/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-010.js +++ b/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-010.js @@ -12,6 +12,5 @@ // See the License for the specific language governing permissions and // limitations under the License. -var a = new String('example') -var c = toString in a -assert(!c) \ No newline at end of file +var a = new String('example'); +assert('toString' in a); diff --git a/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-012.js b/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-012.js index fe8c2f251..f2b9c7e6d 100644 --- a/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-012.js +++ b/tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-012.js @@ -12,6 +12,5 @@ // See the License for the specific language governing permissions and // limitations under the License. -var a = new String('example') -var c = toString in a -assert(!c) \ No newline at end of file +var a = new String('example'); +assert(!('toString.' in a)); diff --git a/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.07/15.05.04.07-003.js b/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.07/15.05.04.07-003.js index 0ae45b8b6..e66a41966 100644 --- a/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.07/15.05.04.07-003.js +++ b/tests/jerry-test-suite/15/15.05/15.05.04/15.05.04.07/15.05.04.07-003.js @@ -12,4 +12,4 @@ // See the License for the specific language governing permissions and // limitations under the License. -assert(string("abcd").indexOf("ab", 1) === -1 ? 1 : 0); +assert(String("abcd").indexOf("ab", 1) === -1 ? 1 : 0);