From 9c20969cfc0672f885c5d7f113f069270094fd71 Mon Sep 17 00:00:00 2001 From: Ruben Ayrapetyan Date: Mon, 20 Oct 2014 16:25:26 +0400 Subject: [PATCH] Fixing some tests from internal test suite. --- tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-010.js | 5 ++--- tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-012.js | 5 ++--- .../15/15.05/15.05.04/15.05.04.07/15.05.04.07-003.js | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) 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);