aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7_A3.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7_A3.js')
-rw-r--r--test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7_A3.js45
1 files changed, 0 insertions, 45 deletions
diff --git a/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7_A3.js b/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7_A3.js
deleted file mode 100644
index e0782cb21..000000000
--- a/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7_A3.js
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
-* @name: S8.7_A3;
-* @section: 8.7;
-* @assertion: Changing the Reference of an Object While Maintaining Integrity;
-* @description: Create a reference to the array, and redefine original array with new array;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S8.7_A3",
-
-path: "TestCases/08_Types/8.7_The_Reference_Type/S8.7_A3.js",
-
-assertion: "Changing the Reference of an Object While Maintaining Integrity",
-
-description: "Create a reference to the array, and redefine original array with new array",
-
-test: function testcase() {
- //////////////////////////////////////////////////////////////////////////////
-//CHECK#
-// Set items to an array (object) of strings
-var items = new Array( "one", "two", "three" );
-// Set itemsRef to a reference to items
-//
-var itemsRef = items;
-// Set items to equal a new object
-//
-items = new Array( "new", "array" );
-// items and itemsRef now point to different objects.
-// items points to new Array( "new", "array" )
-// itemsRef points to new Array( "one", "two", "three" )
-if( items == itemsRef ){
- $ERROR('#1: var items = new Array( "one", "two", "three" ); var itemsRef = items; items = new Array( "new", "array" ); items != itemsRef');
-};
-//
-//////////////////////////////////////////////////////////////////////////////
-
- }
-});
-