From 2eedfdc334bef4c74a576b323fa1169a29dfbcec Mon Sep 17 00:00:00 2001 From: Ruben Ayrapetyan Date: Thu, 16 Oct 2014 11:01:39 +0400 Subject: [PATCH] Fixing some tests from internal test suite. --- tests/jerry-test-suite/11/11.04/11.04.01/11.04.01-010.js | 2 +- tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-014.js | 2 +- tests/jerry-test-suite/12/12.06/12.06.02/12.06.02-002.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/jerry-test-suite/11/11.04/11.04.01/11.04.01-010.js b/tests/jerry-test-suite/11/11.04/11.04.01/11.04.01-010.js index 127b9c37b..f6421d844 100644 --- a/tests/jerry-test-suite/11/11.04/11.04.01/11.04.01-010.js +++ b/tests/jerry-test-suite/11/11.04/11.04.01/11.04.01-010.js @@ -12,4 +12,4 @@ // See the License for the specific language governing permissions and // limitations under the License. -assert((delete arguments) == false); +assert((delete arguments) == true); diff --git a/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-014.js b/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-014.js index 72e24cbce..2eb6902ec 100644 --- a/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-014.js +++ b/tests/jerry-test-suite/11/11.06/11.06.02/11.06.02-014.js @@ -12,4 +12,4 @@ // See the License for the specific language governing permissions and // limitations under the License. -assert((("1" - new String("1") !== 0) || (new String("1") - 1 !== 0))) \ No newline at end of file +assert(!((("1" - new String("1") !== 0) || (new String("1") - 1 !== 0)))) diff --git a/tests/jerry-test-suite/12/12.06/12.06.02/12.06.02-002.js b/tests/jerry-test-suite/12/12.06/12.06.02/12.06.02-002.js index 4a4c8c22c..90f578d78 100644 --- a/tests/jerry-test-suite/12/12.06/12.06.02/12.06.02-002.js +++ b/tests/jerry-test-suite/12/12.06/12.06.02/12.06.02-002.js @@ -16,6 +16,6 @@ var cnt = 0; while (1) { cnt++; - if (cnd === 10) + if (cnt === 10) break; }