diff --git a/tests/jerry-test-suite/12/12.02/12.02.01/12.02.01-001.js b/tests/jerry-test-suite/12/12.02/12.02.01/12.02.01-001.js index 3f129e338..77773ffc5 100644 --- a/tests/jerry-test-suite/12/12.02/12.02.01/12.02.01-001.js +++ b/tests/jerry-test-suite/12/12.02/12.02.01/12.02.01-001.js @@ -12,22 +12,5 @@ // See the License for the specific language governing permissions and // limitations under the License. -/* - - s.ryabkova - - Check that in non strict mode variable with name "eval" could be created - - - var, eval, if - - -*/ -function main() -{ - var eval = 1 - if (eval === 1 && typeof(eval) === "number") - return 1; - else - return 0; -} +var eval = 1; +assert(eval === 1 && typeof (eval) === "number"); diff --git a/tests/jerry-test-suite/12/12.02/12.02.01/12.02.01-002.js b/tests/jerry-test-suite/12/12.02/12.02.01/12.02.01-002.js index caee256a1..af3929d71 100644 --- a/tests/jerry-test-suite/12/12.02/12.02.01/12.02.01-002.js +++ b/tests/jerry-test-suite/12/12.02/12.02.01/12.02.01-002.js @@ -12,23 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -/* - - s.ryabkova - - Check that in non strict mode variable with name "arguments" - could be created - - - var, arguments, if - - -*/ -function main() -{ - var arguments=2; - if (arguments === 2 && typeof(arguments) === "number") - return 1; - else - return 0; -} +var arguments = 2; +assert(arguments === 2 && typeof (arguments) === "number"); + diff --git a/tests/jerry-test-suite/15/15.07/15.07.01/15.07.01-001.js b/tests/jerry-test-suite/15/15.07/15.07.01/15.07.01-001.js index a73baba2e..0b059c1b2 100644 --- a/tests/jerry-test-suite/15/15.07/15.07.01/15.07.01-001.js +++ b/tests/jerry-test-suite/15/15.07/15.07.01/15.07.01-001.js @@ -12,18 +12,4 @@ // See the License for the specific language governing permissions and // limitations under the License. -/* - - s.ryabkova - - Check Number Constructor called as a function performs a type conversion and returns a number value (not a Number Object) computed by ToNumber() function - - - built-in, Number - - -*/ -function main() -{ - return (Number("123456") === 123456) -} +assert(Number("123456") === 123456);