diff options
Diffstat (limited to 'test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T1.js')
-rw-r--r-- | test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T1.js | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T1.js b/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T1.js deleted file mode 100644 index 751a39a53..000000000 --- a/test/suite/sputnik_converted/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T1.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
-* @name: S12.6.2_A4_T1;
-* @section: 12.6.2, 12.8;
-* @assertion: "break" within a "while" Statement is allowed and performed as described in 12.8;
-* @description: "break" within a "while" Statement;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S12.6.2_A4_T1",
-
-path: "TestCases/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A4_T1.js",
-
-assertion: "\"break\" within a \"while\" Statement is allowed and performed as described in 12.8",
-
-description: "\"break\" within a \"while\" Statement",
-
-test: function testcase() {
- while(1===1){
- __in__do__before__break="reached";
- break;
- __in__do__after__break="where am i";
-}
-
-//////////////////////////////////////////////////////////////////////////////
-//CHECK#1
-if (__in__do__before__break !== "reached") {
- $ERROR('#1: __in__do__before__break === "reached". Actual: __in__do__before__break ==='+ __in__do__before__break );
-}
-//
-//////////////////////////////////////////////////////////////////////////////
-
-//////////////////////////////////////////////////////////////////////////////
-//CHECK#2
-if (typeof __in__do__after__break !== "undefined") {
- $ERROR('#2: typeof __in__do__after__break === "undefined". Actual: typeof __in__do__after__break ==='+ typeof __in__do__after__break );
-}
-//
-//////////////////////////////////////////////////////////////////////////////
-
- }
-});
-
|