aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T16.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T16.js')
-rw-r--r--test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T16.js44
1 files changed, 0 insertions, 44 deletions
diff --git a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T16.js b/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T16.js
deleted file mode 100644
index 6b4a516cb..000000000
--- a/test/suite/sputnik_converted/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T16.js
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
-* @name: S15.5.4.14_A1_T16;
-* @section: 15.5.4.14;
-* @assertion: String.prototype.split(separator, limit):
-* i) can be transferred to other kinds of objects for use as a method.
-* separator and limit can be any kinds of object since:
-* ii) if separator is not RegExp ToString(separator) performs and
-* iii) ToInteger(limit) performs;
-* @description: Argument is object, and instance is Number.
-* Object have overrided toString function, that return regexp;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S15.5.4.14_A1_T16",
-
-path: "TestCases/15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T16.js",
-
-assertion: "String.prototype.split(separator, limit):",
-
-description: "Argument is object, and instance is Number.",
-
-test: function testcase() {
- var __obj = {toString:function(){return /\u0037\u0037/g;}};
-
-Number.prototype.split=String.prototype.split;
-
-try {
- var __split = 6776767677.006771122677555.split(__obj);
- $FAIL('#1: "__split = 6776767677.006771122677555.split(__obj)" lead to throwing exception');
-} catch (e) {
- if (!(e instanceof TypeError)) {
- $ERROR('#1.1: Exception is instance of TypeError. Actual: '+e);
- }
-}
-
- }
-});
-