diff options
Diffstat (limited to 'test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A1.js')
-rw-r--r-- | test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A1.js | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A1.js b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A1.js index bc709e6c3..4fe5f3e22 100644 --- a/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A1.js +++ b/test/suite/sputnik_converted/15_Native/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/S15.3.4_A1.js @@ -1,13 +1,13 @@ -// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
-* @name: S15.3.4_A1;
-* @section: 15.3.4;
-* @assertion: The Function prototype object is itself a Function object (its [[Class]] is "Function");
-* @description: Object.prototype.toString returns [object+[[Class]]+];
-*/
-
+// Copyright 2009 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/** +* @name: S15.3.4_A1; +* @section: 15.3.4; +* @assertion: The Function prototype object is itself a Function object (its [[Class]] is "Function"); +* @description: Object.prototype.toString returns [object+[[Class]]+]; +*/ + // Converted for Test262 from original Sputnik source
@@ -21,10 +21,10 @@ assertion: "The Function prototype object is itself a Function object (its [[Cla description: "Object.prototype.toString returns [object+[[Class]]+]",
test: function testcase() {
- if (Object.prototype.toString.call(Function.prototype) !== "[object Function]") {
- $ERROR('#2: The Function prototype object is itself a Function ' +
- 'object (its [[Class]] is "Function") (15.3.4)');
-}
+ if (Object.prototype.toString.call(Function.prototype) !== "[object Function]") { + $ERROR('#2: The Function prototype object is itself a Function ' + + 'object (its [[Class]] is "Function") (15.3.4)'); +} }
});
|