diff options
Diffstat (limited to 'test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A12.js')
-rw-r--r-- | test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A12.js | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A12.js b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A12.js index a1c9b486a..5a1198b17 100644 --- a/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A12.js +++ b/test/suite/sputnik_converted/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.2_Object.prototype.toString/S15.2.4.2_A12.js @@ -1,12 +1,12 @@ -// Copyright 2011 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
-* @name: S15.2.4.2_A12;
-* @section: 15.2.4.2;
-* @assertion: If the this value is undefined, return "[object Undefined]".
-*/
-
+// Copyright 2011 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/** +* @name: S15.2.4.2_A12; +* @section: 15.2.4.2; +* @assertion: If the this value is undefined, return "[object Undefined]". +*/ + // Converted for Test262 from original Sputnik source
@@ -20,9 +20,9 @@ assertion: "If the this value is undefined, return \"[object Undefined]\".", description: "",
test: function testcase() {
- if (Object.prototype.toString.call(undefined) !== "[object Undefined]") {
- $ERROR('If the this value is undefined, return "[object Undefined]".');
-}
+ if (Object.prototype.toString.call(undefined) !== "[object Undefined]") { + $ERROR('If the this value is undefined, return "[object Undefined]".'); +} }
});
|